Qt Creator 2.1.0 RC 1 won't make in Ubuntu
-
I have already installed 4.7.1 and Mobility 1.1.0 and now I am just trying to get Qt Creator up and working. I follow its instructions and made a destination folder for it in /usr/bin/qt-creator and then qmake the .pro file in the source directory (which goes without error), but fails on the make command with this output:
@<command-line>:0: warning: missing terminating " character
In file included from ../../../qt-creator-2.1.0-rc1-src/src/libs/qtconcurrent/multitask.h:33,
from ../../../qt-creator-2.1.0-rc1-src/src/libs/qtconcurrent/moc_multitask.cpp:11:
../../../qt-creator-2.1.0-rc1-src/src/libs/qtconcurrent/qtconcurrent_global.h:33: fatal error: QtCore/qglobal.h: No such file or directory
compilation terminated.
make[3]: *** [moc_multitask.o] Error 1
make[3]: Leaving directory/home/kp/src/libs/qtconcurrent' make[2]: *** [sub-qtconcurrent] Error 2 make[2]: Leaving directory
/home/kp/src/libs'
make[1]: *** [sub-libs] Error 2
make[1]: Leaving directory `/home/kp/src'
make: *** [sub-src] Error 2
@Any help would be appreciated. I can provide more output if needed.
-
Looks like you hosed your compiler call somehow (first line). Did you pass any special parameters to either qmake or make?
-
Only the directory name with qmake.
-
This is its entire contents:
@#include "../../src/corelib/global/qglobal.h"@
Is that a problem?
-
I never did get to the bottom of this. I have 4.7.1 libs installed. What should I do?
-
I just figured out that it is trying to grab from the qt3 folder instead of the qt4 folder. How do I change this?
-
Forgive my ignorance, but you will have to explain.
-
How do I make sure it uses 4.x?
-
right now qmake-qt4 runs without an error but doesn't do anything. I am going to reinstall 4.7.1 libraries and see if it changes anything.
-
Even when I call the correct qmake I get the same error.
-
It worked once I downloaded the .bin file from the ftp site but not if I tried to compile myself.
-
how did downloading the .bin file help you? did you have to do any additional commands in the terminal?