##// END OF EJS Templates
New attempt to enable building of qml-qtquicktest on OSX
Tero Ahola -
r2215:805cd6f3e586
parent child
Show More
@@ -1,49 +1,53
1 1 !include( ../tests.pri ) {
2 2 error( "Couldn't find the tests.pri file!" )
3 3 }
4 4
5 5 TEMPLATE = subdirs
6 6 SUBDIRS += \
7 7 qchartview \
8 8 qchart \
9 9 qlineseries \
10 10 qbarset \
11 11 qbarseries \
12 12 qstackedbarseries \
13 13 qpercentbarseries \
14 14 qpieslice qpieseries \
15 15 qpiemodelmapper \
16 16 qsplineseries \
17 17 qscatterseries \
18 18 qxymodelmapper \
19 19 qbarmodelmapper \
20 20 qhorizontalbarseries \
21 21 qhorizontalstackedbarseries \
22 22 qhorizontalpercentbarseries \
23 23 qvalueaxis \
24 24 qcategoryaxis \
25 25 qbarcategoryaxis \
26 26 domain \
27 27 chartdataset \
28 28 qlegend
29 29
30 30 contains(QT_VERSION, ^4\\.[0-7]\\.[0-3]\\s*$) | contains(QT_VERSION, ^4\\.[0-6]\\..*) {
31 31 warning("QtCommercial.Charts QML API requires at least Qt 4.7.4. You are using $${QT_VERSION} so the QML API is disabled.")
32 32 } else {
33 33 SUBDIRS += qml
34 34
35 35 # Check if QtQuickTest is installed
36 36 exists($$(QTDIR)/lib/QtQuickTest.lib) {
37 37 SUBDIRS += qml-qtquicktest
38 38 } else {
39 exists($$(QTDIR)/lib/libQtQuickTest.dylib) {
40 SUBDIRS += qml-qtquicktest
41 } else {
39 42 warning("QtQuickTest not found; cannot build QML api unit tests")
40 43 }
41 44 }
45 }
42 46
43 47 !linux-arm*: {
44 48 SUBDIRS += \
45 49 qdatetimeaxis
46 50 }
47 51
48 52
49 53
General Comments 0
You need to be logged in to leave comments. Login now