summaryrefslogtreecommitdiffstats
path: root/bin/qmake-and-qtpaths-wrapper.bat.in
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-11-05 13:31:35 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-11-08 13:41:03 +0100
commit71e490f0baee0d27a45a17886c48f5defbbaea42 (patch)
tree3705e0ce5ff3c2488b9e2f0a6d89c77b6865892a /bin/qmake-and-qtpaths-wrapper.bat.in
parentc0bc4c7638d8b7d46f8cb3175ddde2a59ca63983 (diff)
Provide a qtpaths wrapper script when cross-building Qt
The qtpaths tool is supposed to replace "qmake -query", and it must be available for cross-builds as a wrapper script like qmake. Re-use the existing facility for creating the qmake wrapper script for creating the qtpaths wrapper script. Pick-to: 6.2 Fixes: QTBUG-97821 Change-Id: I460bae61a531994422e1c0fba09c79e4aa65713f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'bin/qmake-and-qtpaths-wrapper.bat.in')
-rw-r--r--bin/qmake-and-qtpaths-wrapper.bat.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/qmake-and-qtpaths-wrapper.bat.in b/bin/qmake-and-qtpaths-wrapper.bat.in
new file mode 100644
index 0000000000..8225170fc9
--- /dev/null
+++ b/bin/qmake-and-qtpaths-wrapper.bat.in
@@ -0,0 +1,2 @@
+@echo off
+@host_qt_bindir@\@tool_name@.exe -qtconf "%~dp0\target_qt.conf" %*