summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index b76f22a43f..1d23b8eb40 100755
--- a/configure
+++ b/configure
@@ -920,6 +920,12 @@ else
fi
}
+printQmakeBuildErrorAndExit()
+{
+ echo >&2 "ERROR: You cannot configure Qt 6 with qmake anymore. Please configure with -cmake instead."
+ exit 1
+}
+
checkTopLevelBuild "$@"
parseCommandline "$@"
handleHelp
@@ -945,6 +951,7 @@ if [ "$BUILD_WITH_CMAKE" = "yes" ]; then
cmake "-DOPTFILE=$optfilename" $top_level_arg -P "$relpath/cmake/QtProcessConfigureArgs.cmake"
else
+ printQmakeBuildErrorAndExit
findPerl
findAwk
findMake