blob: b5893c5a1ee723f8e4f24f74fc0b38593b919f86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
TEMPLATE=app
TARGET=tst_qmltestexample
SOURCES += tst_qmltest.cpp
!QTDIR_build {
# This is the code actual testcases should use:
CONFIG += qmltestcase
TESTDATA += tst_basic.qml tst_item.qml
} else {
# This code exists solely for the purpose of building this example
# inside the examples/ hierarchy.
QT += qml qmltest
macx: CONFIG -= app_bundle
target.path = $$[QT_INSTALL_EXAMPLES]/qmltest/qmltest
qml.files = tst_basic.qml tst_item.qml
qml.path = $$[QT_INSTALL_EXAMPLES]/qmltest/qmltest
INSTALLS += target qml
}
|