configure: add -qmake argument

This option configures Qt with the qmake-based build system.
Currently, this is the default, so this option is a no-op until the
default switches to CMake.

Task-number: QTBUG-87049
Change-Id: I56f3080a4f1423788ffb743287a7b2e67a8e2cc4
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Joerg Bornemann 2020-10-01 12:22:50 +02:00
parent e750fa8509
commit 077ea0c633
2 changed files with 10 additions and 0 deletions

3
configure vendored
View File

@ -558,6 +558,9 @@ while [ "$#" -gt 0 ]; do
cmake) cmake)
BUILD_WITH_CMAKE=yes BUILD_WITH_CMAKE=yes
;; ;;
qmake)
BUILD_WITH_CMAKE=no
;;
redo) redo)
if [ -f ${outpathPrefix}config.opt ]; then if [ -f ${outpathPrefix}config.opt ]; then
if grep -e ^-cmake <${outpathPrefix}config.opt >/dev/null 2>&1; then if grep -e ^-cmake <${outpathPrefix}config.opt >/dev/null 2>&1; then

View File

@ -100,6 +100,9 @@ goto doneargs
if /i "%~1" == "-cmake" goto cmake if /i "%~1" == "-cmake" goto cmake
if /i "%~1" == "--cmake" goto cmake if /i "%~1" == "--cmake" goto cmake
if /i "%~1" == "-qmake" goto qmake
if /i "%~1" == "--qmake" goto qmake
:nextarg :nextarg
shift shift
goto doargs goto doargs
@ -152,6 +155,10 @@ goto doneargs
set CMAKE=true set CMAKE=true
goto nextarg goto nextarg
:qmake
set CMAKE=
goto nextarg
:doneargs :doneargs
if "%CMAKE%" == "true" goto cmake if "%CMAKE%" == "true" goto cmake