summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-05-17 13:17:14 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-05-17 13:17:14 (GMT)
commit509ef11ab4ba6165c16d9d311c4a1bf7cdfd2528 (patch)
tree2061ffe59d07725e429d23e0cc7ff137a67113e1
parentaeb1e4426d85de5d19a81c96ba565a764ff962cf (diff)
parenteb79e5ebf67de67f8c7bf3db20ceae93b46252b3 (diff)
downloadQt-509ef11ab4ba6165c16d9d311c4a1bf7cdfd2528.zip
Qt-509ef11ab4ba6165c16d9d311c4a1bf7cdfd2528.tar.gz
Qt-509ef11ab4ba6165c16d9d311c4a1bf7cdfd2528.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: re-add overriding of tool paths to configure
-rwxr-xr-xconfigure5
-rw-r--r--tools/configure/configureapp.cpp5
2 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index 057d39a..0cf7542 100755
--- a/configure
+++ b/configure
@@ -7198,6 +7198,11 @@ QMAKE_ABSOLUTE_SOURCE_ROOT = \$\$QT_SOURCE_TREE
QMAKE_MOC_SRC = \$\$QT_BUILD_TREE/src/moc
#local paths that cannot be queried from the QT_INSTALL_* properties while building QTDIR
+QMAKE_MOC = \$\$QT_BUILD_TREE/bin/moc
+QMAKE_UIC = \$\$QT_BUILD_TREE/bin/uic
+QMAKE_UIC3 = \$\$QT_BUILD_TREE/bin/uic3
+QMAKE_RCC = \$\$QT_BUILD_TREE/bin/rcc
+QMAKE_QDBUSXML2CPP = \$\$QT_BUILD_TREE/bin/qdbusxml2cpp
QMAKE_INCDIR_QT = \$\$QT_BUILD_TREE/include
QMAKE_LIBDIR_QT = \$\$QT_BUILD_TREE/lib
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
index 7319844..b35f454 100644
--- a/tools/configure/configureapp.cpp
+++ b/tools/configure/configureapp.cpp
@@ -2755,6 +2755,11 @@ void Configure::generateCachefile()
cacheStream << "DEFINES *= QT_EDITION=QT_EDITION_DESKTOP" << endl;
//so that we can build without an install first (which would be impossible)
+ cacheStream << "QMAKE_MOC = $$QT_BUILD_TREE" << fixSeparators("/bin/moc.exe") << endl;
+ cacheStream << "QMAKE_UIC = $$QT_BUILD_TREE" << fixSeparators("/bin/uic.exe") << endl;
+ cacheStream << "QMAKE_UIC3 = $$QT_BUILD_TREE" << fixSeparators("/bin/uic3.exe") << endl;
+ cacheStream << "QMAKE_RCC = $$QT_BUILD_TREE" << fixSeparators("/bin/rcc.exe") << endl;
+ cacheStream << "QMAKE_DUMPCPP = $$QT_BUILD_TREE" << fixSeparators("/bin/dumpcpp.exe") << endl;
cacheStream << "QMAKE_INCDIR_QT = $$QT_BUILD_TREE" << fixSeparators("/include") << endl;
cacheStream << "QMAKE_LIBDIR_QT = $$QT_BUILD_TREE" << fixSeparators("/lib") << endl;
if (dictionary["CETEST"] == "yes") {