summaryrefslogtreecommitdiffstats
path: root/bin/qmake-wrapper-for-target.bat.in
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-06-18 10:07:22 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-06-29 12:47:34 +0200
commitd7fd6848612760124871f0f3b55917250d078dd5 (patch)
tree49f97ad5f16f5fd32cf69a5497c20581bf65b592 /bin/qmake-wrapper-for-target.bat.in
parentb0f9c06a9b199a7474eb94a6292b5824364344b6 (diff)
CMake: Support cross-compilation with qmake
When cross-compiling, we now create a target_qt.conf file that's to be used with the host Qt's qmake. With "qmake -qtconf .../target_qt.conf" projects can be cross-built against the cross-built Qt. We also create wrapper scripts for the host qmake to save the user from passing the -qtconf argument. Fixes: QTBUG-82581 Change-Id: Ib5866e7e820369efea9eb3171e3e3e3ca5c0c3c1 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'bin/qmake-wrapper-for-target.bat.in')
-rw-r--r--bin/qmake-wrapper-for-target.bat.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/qmake-wrapper-for-target.bat.in b/bin/qmake-wrapper-for-target.bat.in
new file mode 100644
index 0000000000..cce775a768
--- /dev/null
+++ b/bin/qmake-wrapper-for-target.bat.in
@@ -0,0 +1,2 @@
+@echo off
+@host_qt_bindir@\qmake.exe %* -qtconf "%~dp0\target_qt.conf"