From 71e490f0baee0d27a45a17886c48f5defbbaea42 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Fri, 5 Nov 2021 13:31:35 +0100 Subject: 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 --- bin/qmake-and-qtpaths-wrapper.bat.in | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 bin/qmake-and-qtpaths-wrapper.bat.in (limited to 'bin/qmake-and-qtpaths-wrapper.bat.in') 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" %* -- cgit v1.2.3