da072d34b18075ab4069105db244f9095689413f
[profile/ivi/qtdeclarative.git] / src / imports / testlib / testlib.pro
1 TARGET  = qmltestplugin
2 TARGETPATH = QtTest
3 include(../qimportbase.pri)
4
5
6 CONFIG += qt plugin
7
8 symbian {
9     CONFIG += epocallowdlldata
10     contains(QT_EDITION, OpenSource) {
11         TARGET.CAPABILITY = LocalServices NetworkServices ReadUserData UserEnvironment WriteUserData
12     } else {
13         TARGET.CAPABILITY = All -Tcb
14     }
15
16     isEmpty(DESTDIR):importFiles.files = qmltestplugin$${QT_LIBINFIX}.dll qmldir
17     else:importFiles.files = $$DESTDIR/qmltestplugin$${QT_LIBINFIX}.dll qmldir
18     importFiles.path = $$QT_IMPORTS_BASE_DIR/$$TARGETPATH
19
20     DEPLOYMENT = importFiles
21
22 }
23
24 QT += declarative qmltest qmltest-private v8-private declarative-private core-private testlib
25
26 SOURCES += main.cpp
27 HEADERS +=
28
29 DESTDIR = $$QT.declarative.imports/$$TARGETPATH
30
31 target.path += $$[QT_INSTALL_IMPORTS]/QtTest
32 OTHER_IMPORT_FILES = \
33     qmldir \
34     TestCase.qml \
35     SignalSpy.qml \
36     testlogger.js
37
38 otherImportFiles.files += $$OTHER_IMPORT_FILES
39
40 otherImportFiles.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
41
42 copy2build.input = OTHER_IMPORT_FILES
43 copy2build.output = $$QT.declarative.imports/$$TARGETPATH/${QMAKE_FILE_BASE}${QMAKE_FILE_EXT}
44
45
46 INSTALLS += target otherImportFiles