use auto-defined QT_BUILD_*_LIB variables
[profile/ivi/qtdeclarative.git] / src / qmltest / qmltest.pro
1 load(qt_module)
2
3 TARGET     = QtQuickTest
4 QPRO_PWD   = $$PWD
5
6 CONFIG += module
7 CONFIG += dll warn_on
8
9 QT += qml testlib-private gui-private
10 DEFINES += QT_BUILD_QUICK_TEST_LIB QT_NO_URL_CAST_FROM_STRING
11
12 load(qt_module_config)
13
14 # private dependencies
15 QT += quick
16
17 # Install qmltestcase.prf into the Qt mkspecs so that "CONFIG += qmltestcase"
18 # can be used in customer applications to build against QtQuickTest.
19 feature.path = $$[QT_INSTALL_DATA]/mkspecs/features
20 feature.files = $$PWD/features/qmltestcase.prf
21 INSTALLS += feature
22
23 INCLUDEPATH += $$PWD/QtQuickTest
24 INCLUDEPATH += $$PWD
25
26 SOURCES += \
27     $$PWD/quicktest.cpp \
28     $$PWD/quicktestevent.cpp \
29     $$PWD/quicktestresult.cpp
30 HEADERS += \
31     $$PWD/quicktestglobal.h \
32     $$PWD/quicktest.h \
33     $$PWD/quicktestevent_p.h \
34     $$PWD/quicktestresult_p.h \
35     $$PWD/qtestoptions_p.h
36
37
38 DEFINES += QT_BUILD_QUICK_TEST_LIB QT_QML_DEBUG_NO_WARNING