This assumes that you have incorrectly configured library search paths in your IDE. QT SDK libraries not found. Did you install everything with the QT tools and / or the installation guide?
"QApplication" is one of the header files included by #include <qapplication> . Depending on how and which SDK you installed, it may be, for example:
Nokia SDK with carbide / Eclipse:
C:\????\Nokia\devices\Nokia_Symbian_Belle_SDK_v1.0\epoc32\include\mw\qtgui
QtCreator Installer and QT SDK:
C:\????\QtSDK\Symbian\SDKs\SymbianSR1Qt474\include\QtGui
Where???? indicates the location that you selected when installing the tools. First check if you have a file.
You have this, and if it is not damaged, and if you are not mistaken in the driver, etc., then check your QT project files and see if you really have all the imports and includes the correct set. Maybe you forgot some kind of suffix "\ include", or maybe you have too much? LINUX and WIN32 configurations usually differ in many settings, it is very easy to randomly mix some conventions that set the paths
EDIT:
Thanks for the update! Paths really look ok
I re-read your error log and everything looked great until I formatted it a bit. Something strange came out. Look at the first g ++ call and compare it to the second, which does not work.
The second does not have all the path settings. But it normal. The first is compiling, the second is linking. It differs by the parameter g++ -c versus g++ wihtout "-c". But look, the FILES are transferred to g ++.
The first compiles qtsingleapplication.cpp to qtsingleapplication.o , and the second tries to associate qtsingleapplication.cpp with -o QtSingleApplication .
I think that:
- or the second line forgot the "-c" parameter and all the paths
-I - or the second line has an invalid input file and should have
qtsingleapplication.o instead of .cpp
I assume that you really have some switches / conditional errors in your qtprojs for the following cases: win32. Sorry, I can’t tell you anymore, at the moment I’ll have to try to compile a project myself and examine the / qtprojs make files. Try backtracking on how the second line is generated and which makefile / qtproj variables are used, and then double or even triple check your project settings. Do this not in the IDE, but in the actual project files that are used. The IDE sometimes hides some conditions and settings from you, especially QT Creator likes to do this.