From 0fa52909fd56275cd3f56640fb61cc1bdeb98d76 Mon Sep 17 00:00:00 2001 From: Rafael Roquetto Date: Mon, 13 Aug 2012 15:42:01 +0200 Subject: [PATCH] Remove relic QT_VERSION from qmake test Change-Id: Ic9095e3e924543d4f3e6d0f7c3a7b27f842cd300 Reviewed-by: Oswald Buddenhagen --- tests/auto/tools/qmake/tst_qmake.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/tools/qmake/tst_qmake.cpp b/tests/auto/tools/qmake/tst_qmake.cpp index 1cdf0d7..3d1faf2 100644 --- a/tests/auto/tools/qmake/tst_qmake.cpp +++ b/tests/auto/tools/qmake/tst_qmake.cpp @@ -107,7 +107,7 @@ tst_qmake::~tst_qmake() void tst_qmake::initTestCase() { QString binpath = QLibraryInfo::location(QLibraryInfo::BinariesPath); - QString cmd = QString("%2/qmake \"QT_VERSION=%1\"").arg(QT_VERSION).arg(binpath); + QString cmd = QString("%1/qmake").arg(binpath); #ifdef Q_CC_MSVC test_compiler.setBaseCommands( "nmake", cmd ); #elif defined(Q_CC_MINGW) -- 2.7.4