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:
parent
6441479ac5
commit
7267ebe004
@ -67,7 +67,7 @@ CONFIG -= qt
|
|||||||
|
|
||||||
#qmake
|
#qmake
|
||||||
qmake.path = $$[QT_HOST_BINS]
|
qmake.path = $$[QT_HOST_BINS]
|
||||||
win32 {
|
equals(QMAKE_HOST.os, Windows) {
|
||||||
qmake.files = $$OUT_PWD/bin/qmake.exe
|
qmake.files = $$OUT_PWD/bin/qmake.exe
|
||||||
} else {
|
} else {
|
||||||
qmake.files = $$OUT_PWD/bin/qmake
|
qmake.files = $$OUT_PWD/bin/qmake
|
||||||
@ -77,7 +77,7 @@ INSTALLS += qmake
|
|||||||
#syncqt
|
#syncqt
|
||||||
syncqt.path = $$[QT_HOST_BINS]
|
syncqt.path = $$[QT_HOST_BINS]
|
||||||
syncqt.files = $$PWD/bin/syncqt
|
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
|
INSTALLS += syncqt
|
||||||
|
|
||||||
#mkspecs
|
#mkspecs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user