summaryrefslogtreecommitdiffstats
path: root/configure.bat
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-12-04 14:17:46 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-12-10 15:25:37 +0100
commit126c5c501a305ee43c5e51261421266f09ed3bb4 (patch)
tree8f83bdb99090439e5a133b087bf811e8f3c0012b /configure.bat
parent928b51704a14d038f940759830579e82899ae8e5 (diff)
CMake: Disable building Qt with qmake
Print an error message when configure is passed the -qmake option. The only supported way to build Qt now is with CMake. This means the CMakeLists.txt files are the source of truth now, and pro2cmake will not have to be used anymore. The .pro files can be removed at a later time. The same is true for configure.cmake files. They are the authoritative source, and the configure.json files will be removed at a later time. Task-number: QTBUG-88741 Change-Id: Ia9de4c1411978b40b13e9b982977e7818164c984 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'configure.bat')
-rw-r--r--configure.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.bat b/configure.bat
index 171074bc68..ca106486a6 100644
--- a/configure.bat
+++ b/configure.bat
@@ -163,6 +163,9 @@ goto doneargs
if "%CMAKE%" == "true" goto cmake
+echo ERROR: You cannot configure Qt 6 with qmake anymore. Please configure with -cmake instead. >&2
+exit /b 1
+
rem Find various executables
for %%C in (clang-cl.exe clang.exe cl.exe icl.exe g++.exe perl.exe jom.exe) do set %%C=%%~$PATH:C