Fatal Error Qtgui/qapplication
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn
Qtgui/qapplication Qt5
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users unicodeutf8 is not a member of qapplication Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping
Qmainwindow No Such File Or Directory
each other. Join them; it only takes a minute: Sign up #include
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business
Qapplication No Such File Or Directory Cmake
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation qtgui/qwidget: no such file or directory Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like
Qapplication No Such File Or Directory Ubuntu
you, helping each other. Join them; it only takes a minute: Sign up Error QApplication: no such file or directory up vote 26 down vote favorite 11 I have installed C++SDK that have Qt but when I http://stackoverflow.com/questions/5535661/include-qtgui-qapplication-no-such-file-or-directory try compiling a code linking QApplication it gives me the error: Error QApplication: no such file or directory How do I link these libraries? I searched into the directories and there is a file named QApplication.h; So I tried to link it with -I (linking the directory) but it was still giving me that error. c++ qt share|improve this question edited Jul 6 '14 at 20:33 Eric Leschinski 46.7k23221190 asked Jan 24 '12 at 22:46 Ramy http://stackoverflow.com/questions/8995399/error-qapplication-no-such-file-or-directory Al Zuhouri 14.1k1764124 It gives me that error. What error? Post the proper output of the error you are getting. No one can help you until you provide the full info. –Abhijeet Rastogi Jan 31 '12 at 16:54 6 The title of this question.The source is a simple file, I thought I didn't need to post this but simply: pastebin.com/972XtFUz –Ramy Al Zuhouri Jan 31 '12 at 17:01 What is the output of $locate QApplication? –Abhijeet Rastogi Jan 31 '12 at 17:07 /home/ramy/Documents/C++QtSDK/Desktop/Qt/474/gcc/include/QtGui/QApplication /home/ramy/Documents/C++QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/include/qt4/QtGui/QApplication /home/ramy/Documents/C++QtSDK/Simulator/Qt/gcc/include/QtGui/QApplication /usr/include/qt4/QtGui/QApplication –Ramy Al Zuhouri Jan 31 '12 at 18:31 In the comments, i told you to write run $qmake -project -d -Wall & you included the $ while executing the command. Exclude the 5, that was just there to tell you that it's a command you have to write in shell –Abhijeet Rastogi Jan 31 '12 at 18:36 | show 2 more comments 10 Answers 10 active oldest votes up vote 34 down vote accepted +50 To start things off, the error QApplication: no such file or directory means your compiler was not able to find this header. It is not related to the linking process as you mentioned in the question. The -I flag (uppercase i) is used to specify the include (headers) directory (which is what you nee
download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Home Qt Development https://forum.qt.io/topic/22596/from-qt4-to-qt5-include-files-not-found General and Desktop From Qt4 to Qt5, include files not found From Qt4 to Qt5, include files not found This topic has been deleted. Only users with topic management privileges can see it. fs_tigre last edited by Hi, I just installed Qt5 for the second time and I ran into the same issues as no such the first time, but my main issue at this point are with the include files from my existing Qt4 projects. I read the page below which describes some incompatibilities between the two versions but I couldn't find the script mentioned there (“fixqt4headers.pl”) which should help fixing the headers. http://qt-project.org/wiki/Transition_from_Qt_4.x_to_Qt5 Can someone show me what no such file changes need to be made to make old Qt4 projects work with Qt5? These are the header files used in an old Qt4 project (which used to work with Qt4 of course) bq. mainwindow.h #include