diff options
-rw-r--r-- | configure.pri | 5 | ||||
-rw-r--r-- | mkspecs/features/qt_configure.prf | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/configure.pri b/configure.pri index 5200ad1342..27dc60a09c 100644 --- a/configure.pri +++ b/configure.pri @@ -251,6 +251,11 @@ defineTest(qtConfTest_machineTuple) { return(true) } +defineTest(qtConfTest_verifySpec) { + qtConfTest_compile($$1): return(true) + qtConfFatalError("Cannot compile a minimal program. The toolchain or QMakeSpec is broken.", log) +} + defineTest(qtConfTest_architecture) { !qtConfTest_compile($${1}): \ error("Could not determine $$eval($${1}.label). See config.log for details.") diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf index a61cae9ece..0f1ec7a20f 100644 --- a/mkspecs/features/qt_configure.prf +++ b/mkspecs/features/qt_configure.prf @@ -1033,11 +1033,6 @@ defineTest(qtConfTest_compile) { return(false) } -defineTest(qtConfTest_verifySpec) { - qtConfTest_compile($$1): return(true) - qtConfFatalError("Cannot compile a minimal program. The toolchain or QMakeSpec is broken.", log) -} - defineTest(qtConfTest_files) { for(i, $${1}.files._KEYS_) { f = $$eval($${1}.files.$${i}) |