summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/qmake-wrapper-for-target.bat.in2
-rw-r--r--bin/qmake-wrapper-for-target.in7
2 files changed, 9 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"
diff --git a/bin/qmake-wrapper-for-target.in b/bin/qmake-wrapper-for-target.in
new file mode 100644
index 0000000000..0c81b7c62f
--- /dev/null
+++ b/bin/qmake-wrapper-for-target.in
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# The directory of this script is the expanded absolute path of the "$qt_prefix/bin" directory.
+script_dir_path=`dirname $0`
+script_dir_path=`(cd "$script_dir_path"; /bin/pwd)`
+
+@host_qt_bindir@/qmake $* -qtconf "$script_dir_path/target_qt.conf"