diff options
author | Thomas McGuire <thomas.mcguire@kdab.com> | 2014-09-24 14:43:04 +0200 |
---|---|---|
committer | Thomas McGuire <thomas.mcguire@kdab.com> | 2014-09-25 11:11:23 +0200 |
commit | 8b65e72b2db73f6773e04f08947b4bf54df7a01d (patch) | |
tree | 3ffb915291f84b8845953250cb16357f050688ba | |
parent | faefd37db6a1ada4be7ca0c659c6bb04bf8042ad (diff) |
Use the correct QMake spec when running config tests
Task-number: QTBUG-41508
Change-Id: I0f27aad625117f931216b0cee987ed9463b7d0e0
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-rw-r--r-- | mkspecs/features/configure.prf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf index fe41c541a2..05e10c9641 100644 --- a/mkspecs/features/configure.prf +++ b/mkspecs/features/configure.prf @@ -64,7 +64,7 @@ defineTest(qtCompileTest) { mkpath($$test_out_dir)|error("Aborting.") - qtRunLoggedCommand("$$test_cmd_base $$system_quote($$system_path($$QMAKE_QMAKE)) $$qmake_configs $$shell_quote($$test_dir)") { + qtRunLoggedCommand("$$test_cmd_base $$system_quote($$system_path($$QMAKE_QMAKE)) -spec $$QMAKESPEC $$qmake_configs $$shell_quote($$test_dir)") { qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE") { log("yes$$escape_expand(\\n)") msg = "test $$1 succeeded" |