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>
This commit is contained in:
Rafael Roquetto 2012-07-16 18:23:33 +02:00 committed by Qt by Nokia
parent 6441479ac5
commit 7267ebe004

View File

@ -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