diff options
author | Rafael Roquetto <rafael.roquetto.qnx@kdab.com> | 2012-07-16 18:23:33 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-17 12:52:48 +0200 |
commit | 7267ebe0042e11cf333b99fbcae98d35b23c3bf7 (patch) | |
tree | a9a1c4736208878d31b7fb288ff3cf5295eeab90 /qtbase.pro | |
parent | 6441479ac55a6b30c921c51ec633caf8fa8aa4b2 (diff) |
Install right version of tools when x-compiling.
When cross-compiling from a Windows host, we need to install the right (win32)
versions of syncqt and qmake into the target folder.
Change-Id: I35fc4b05bb6ad7605bc932cae527372a9fe0ba3e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'qtbase.pro')
-rw-r--r-- | qtbase.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qtbase.pro b/qtbase.pro index b1c6ea7089..8e65546230 100644 --- a/qtbase.pro +++ b/qtbase.pro @@ -67,7 +67,7 @@ CONFIG -= qt #qmake qmake.path = $$[QT_HOST_BINS] -win32 { +equals(QMAKE_HOST.os, Windows) { qmake.files = $$OUT_PWD/bin/qmake.exe } else { qmake.files = $$OUT_PWD/bin/qmake @@ -77,7 +77,7 @@ INSTALLS += qmake #syncqt syncqt.path = $$[QT_HOST_BINS] syncqt.files = $$PWD/bin/syncqt -win32:syncqt.files += $$PWD/bin/syncqt.bat +equals(QMAKE_HOST.os, Windows):syncqt.files += $$PWD/bin/syncqt.bat INSTALLS += syncqt #mkspecs |