Fatal Error Qapplication H No Such File Or Directory Ubuntu
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions qapplication: no such file or directory #include
Qtgui/qapplication Qt5
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 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 /
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 more about hiring developers or posting ads with
Qapplication No Such File Or Directory Cmake
us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack qtgui qaction no such file or directory Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up error: 'unicodeutf8' is not a member of 'qapplication' Fatal error: qapplication.h: No such file or directory up vote 1 down vote favorite When I try to run my first program in QT I get the followinging error: /untitled1/main.cpp:1:26: fatal error: qapplication.h: No such file or directory #include ^ compilation http://stackoverflow.com/questions/8995399/error-qapplication-no-such-file-or-directory terminated. make: * [main.o] Error 1 09:38:51: The process "/usr/bin/make" exited with code 2. Error while building/deploying project untitled1 (kit: Desktop) When executing step 'Make' 09:38:52: Elapsed time: 00:01. Please help me. c++ qt share|improve this question edited Sep 6 '14 at 5:31 Quaxton Hale 94911137 asked Sep 6 '14 at 4:42 VashuDeo 86 1 Try including QT += widgets in your .pro file. –Quaxton Hale Sep 6 '14 at 4:47 where i found .pro in my system? –VashuDeo Sep 6 http://stackoverflow.com/questions/25696849/fatal-error-qapplication-h-no-such-file-or-directory '14 at 4:48 It should be in the same directory as your source files. Also replace qapplication.h with
download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Home Qt Development Installation and Deployment [Solved] QApplication: No https://forum.qt.io/topic/22882/solved-qapplication-no-such-file-or-directory such file or directory [Solved] QApplication: No such file or directory This topic has been deleted. Only users with topic management privileges can see it. jalomann last edited by I got Qt5 installed on Opensuse 12.2. I tried to compile some example project that compiled successfully on Qt 4.8. Now I get error message "QApplication: No such file or directory" I no such think the PATH to library is missing while I installed locally on /home/ Where should I edit? Reply Quote 0 sierdzio Moderators last edited by How do you include QApplication header? In Qt5, it resides in