From 6208bdd340a0a3bdb6b08b17d1d5afada3b21d94 2012-12-13 13:02:48 From: Tero Ahola Date: 2012-12-13 13:02:48 Subject: [PATCH] Simplified QtQuickTest check in auto test pro --- diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index 18c6b8d..b9f9fbd 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -34,14 +34,10 @@ contains(QT_VERSION, ^4\\.[0-7]\\.[0-3]\\s*$) | contains(QT_VERSION, ^4\\.[0-6]\ SUBDIRS += qml # Check if QtQuickTest is installed - exists($$(QTDIR)/lib/QtQuickTest.lib){ + exists($$(QTDIR)/mkspecs/features/qmltestcase.prf){ SUBDIRS += qml-qtquicktest } else { - exists($$(QTDIR)/lib/libQtQuickTest.dylib){ - SUBDIRS += qml-qtquicktest - } else { - warning("QtQuickTest not found; cannot build QML api unit tests") - } + warning("QtQuickTest not found; cannot build QML api unit tests") } }