Eike Ziller wrote:
Josh wrote:
Hi All,
I'm trying to build qt-creator 1.3.0 from source (on linux). I have
built and installed Qt 4.6. I set the QTDIR env var to point to my Qt
install location and am using its qmake.
It seems to be trying to include\build things that do not exist in my
QTDIR (ie. as part of the Qt install).
Qt Creator should build fine with the things in an installed Qt. What is it
trying to use that doesn't exist?
++ Eike
It gets to a point where it build moc from the original qt source dir
(which no longer exists) and decides to start using the path to qmake
from my original Qt build directory:
Snipped (and annotated by me) from my qtcreator build output:
(cd /sandbox/qt-creator/targetfs-root/targetfs-base/src/tools/moc &&
make)
make[5]: Entering directory `/sandbox/qt4.6/src/tools/moc'
# <---- wrong! src/tools/moc wasn't in my Qt install, just the
original Qt sources. I manually copied src/tools/moc to the install
location. Why does it start looking here?
/sandbox/qt-everywhere-opensource-src-4.6.0/bin/qmake -spec
../../../mkspecs/linux-g++ -unix -o Makefile moc.pro # <----
wrong! This qmake path refers to the original Qt source dir. I did
use the correct qmake (ie. the one that was installed in
/sandbox/qt4.6/bin/qmake)
make[5]: /sandbox/qt-everywhere-opensource-src-4.6.0/bin/qmake:
Command not found # <---- error doe to previous incorrect qmake path
being referenced.
Note that I have set QTDIR, QMAKESPEC in the build environment. I'm also
specifying the Qt prefix in qt.conf and setting the correct paths for
QMAKE, QMAKE_INCDIR_QT, QMAKE_LIBDIR_QT in qmake.conf.
Anyways, I'm reviewing my Qt install (again) to be sure I did things
correctly.
Thanks for any suggestions.
Josh
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator