##// END OF EJS Templates
Simplified QtQuickTest check in auto test pro
Tero Ahola -
r2388:6208bdd340a0
parent child
Show More
@@ -34,14 +34,10 contains(QT_VERSION, ^4\\.[0-7]\\.[0-3]\\s*$) | contains(QT_VERSION, ^4\\.[0-6]\
34 SUBDIRS += qml
34 SUBDIRS += qml
35
35
36 # Check if QtQuickTest is installed
36 # Check if QtQuickTest is installed
37 exists($$(QTDIR)/lib/QtQuickTest.lib){
37 exists($$(QTDIR)/mkspecs/features/qmltestcase.prf){
38 SUBDIRS += qml-qtquicktest
38 SUBDIRS += qml-qtquicktest
39 } else {
39 } else {
40 exists($$(QTDIR)/lib/libQtQuickTest.dylib){
40 warning("QtQuickTest not found; cannot build QML api unit tests")
41 SUBDIRS += qml-qtquicktest
42 } else {
43 warning("QtQuickTest not found; cannot build QML api unit tests")
44 }
45 }
41 }
46 }
42 }
47
43
General Comments 0
You need to be logged in to leave comments. Login now