CMake: Put the -qtconf argument in front in the qmake wrapper

For QMake's -install argument it's necessary to have -qtconf in front.

Task-number: QTBUG-87801
Change-Id: I042acdd143972cc4065660035b02678db891157f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Joerg Bornemann 2020-10-23 10:52:22 +02:00
parent f22644c5fa
commit 351d066adb
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
@echo off
@host_qt_bindir@\qmake.exe %* -qtconf "%~dp0\target_qt.conf"
@host_qt_bindir@\qmake.exe -qtconf "%~dp0\target_qt.conf" %*

View File

@ -4,4 +4,4 @@
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"
@host_qt_bindir@/qmake -qtconf "$script_dir_path/target_qt.conf" $*