##// END OF EJS Templates
Simplified QtQuickTest check in auto test pro
Tero Ahola -
r2388:6208bdd340a0
parent child
Show More
@@ -1,54 +1,50
1 !include( ../tests.pri ) {
1 !include( ../tests.pri ) {
2 error( "Couldn't find the tests.pri file!" )
2 error( "Couldn't find the tests.pri file!" )
3 }
3 }
4
4
5 TEMPLATE = subdirs
5 TEMPLATE = subdirs
6 SUBDIRS += \
6 SUBDIRS += \
7 qchartview \
7 qchartview \
8 qchart \
8 qchart \
9 qlineseries \
9 qlineseries \
10 qbarset \
10 qbarset \
11 qbarseries \
11 qbarseries \
12 qstackedbarseries \
12 qstackedbarseries \
13 qpercentbarseries \
13 qpercentbarseries \
14 qpieslice qpieseries \
14 qpieslice qpieseries \
15 qpiemodelmapper \
15 qpiemodelmapper \
16 qsplineseries \
16 qsplineseries \
17 qscatterseries \
17 qscatterseries \
18 qxymodelmapper \
18 qxymodelmapper \
19 qbarmodelmapper \
19 qbarmodelmapper \
20 qhorizontalbarseries \
20 qhorizontalbarseries \
21 qhorizontalstackedbarseries \
21 qhorizontalstackedbarseries \
22 qhorizontalpercentbarseries \
22 qhorizontalpercentbarseries \
23 qvalueaxis \
23 qvalueaxis \
24 qlogvalueaxis \
24 qlogvalueaxis \
25 qcategoryaxis \
25 qcategoryaxis \
26 qbarcategoryaxis \
26 qbarcategoryaxis \
27 domain \
27 domain \
28 chartdataset \
28 chartdataset \
29 qlegend
29 qlegend
30
30
31 contains(QT_VERSION, ^4\\.[0-7]\\.[0-3]\\s*$) | contains(QT_VERSION, ^4\\.[0-6]\\..*) {
31 contains(QT_VERSION, ^4\\.[0-7]\\.[0-3]\\s*$) | contains(QT_VERSION, ^4\\.[0-6]\\..*) {
32 warning("QtCommercial.Charts QML API requires at least Qt 4.7.4. You are using $${QT_VERSION} so the QML API is disabled.")
32 warning("QtCommercial.Charts QML API requires at least Qt 4.7.4. You are using $${QT_VERSION} so the QML API is disabled.")
33 } else {
33 } else {
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
48 !linux-arm*: {
44 !linux-arm*: {
49 SUBDIRS += \
45 SUBDIRS += \
50 qdatetimeaxis
46 qdatetimeaxis
51 }
47 }
52
48
53
49
54
50
General Comments 0
You need to be logged in to leave comments. Login now