aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/testlib/testlib.pro
blob: 5adde2ae85581bb98bd7490595da78de5da9a81c (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
TARGET  = qmltestplugin
TARGETPATH = QtTest
include(../qimportbase.pri)


CONFIG += qt plugin

symbian {
    CONFIG += epocallowdlldata
    contains(QT_EDITION, OpenSource) {
        TARGET.CAPABILITY = LocalServices NetworkServices ReadUserData UserEnvironment WriteUserData
    } else {
        TARGET.CAPABILITY = All -Tcb
    }

    isEmpty(DESTDIR):importFiles.files = qmltestplugin$${QT_LIBINFIX}.dll qmldir
    else:importFiles.files = $$DESTDIR/qmltestplugin$${QT_LIBINFIX}.dll qmldir
    importFiles.path = $$QT_IMPORTS_BASE_DIR/$$TARGETPATH

    DEPLOYMENT = importFiles

}

QT += declarative qmltest qmltest-private declarative-private core-private testlib

SOURCES += main.cpp
HEADERS +=

DESTDIR = $$QT.declarative.imports/$$TARGETPATH

target.path += $$[QT_INSTALL_IMPORTS]/QtTest
OTHER_IMPORT_FILES = \
    qmldir \
    TestCase.qml \
    SignalSpy.qml \
    testlogger.js

otherImportFiles.files += $$OTHER_IMPORT_FILES

otherImportFiles.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH

copy2build.input = OTHER_IMPORT_FILES
copy2build.output = $$QT.declarative.imports/$$TARGETPATH/${QMAKE_FILE_BASE}${QMAKE_FILE_EXT}


INSTALLS += target otherImportFiles