Remove relic QT_VERSION from qmake test
authorRafael Roquetto <rafael.roquetto@kdab.com>
Mon, 13 Aug 2012 13:42:01 +0000 (15:42 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 14 Aug 2012 01:56:55 +0000 (03:56 +0200)
Change-Id: Ic9095e3e924543d4f3e6d0f7c3a7b27f842cd300
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
tests/auto/tools/qmake/tst_qmake.cpp

index 1cdf0d7..3d1faf2 100644 (file)
@@ -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)