blob: 566a570b5a8d35a4986632083e15ff32befb29b1 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
TARGET = qtsystemtest
TARGETPATH = QtSystemTest
TEMPLATE = lib
CONFIG += no_clean qt plugin
QT += declarative declarative-private testlib
INCLUDEPATH += ../../../../include
LIBS += -L../../../../lib
LIBS += -lQstProtocol
SOURCES += src/imports.cpp \
src/qstcoreapi.cpp \
src/qstutils.cpp \
src/qstlocalprocess.cpp
HEADERS += src/imports.h \
src/qstcoreapi.h \
src/qstutils.h \
src/qstlocalprocess.h
OTHER_FILES += \
qtsystemtest.json \
target.path += $$[QT_INSTALL_IMPORTS]/QtSystemTest
# public api
QML_IMPORT_FILES = \
qml/TestMethod.qml \
qml/TestItem.qml \
qml/Test.qml \
qml/TestCollection.qml \
qml/Remote.qml \
qml/Application.qml \
qml/itemhandlers/QstObject.qml \
qml/Js.qml \
qmlImportFiles.files += $$PWD/qml
qmlImportFiles.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
# scripts
SCRIPT_FILES = \
scripts/api.js \
scripts/Datatype.js \
scripts/Functional.js \
scripts/JsCore.js \
scripts/SourceBuilder.js \
scripts/Class.js \
scripts/QstCore.js \
scripts/Console.js \
scripts/Expect.js \
scripts/Exception.js \
scripts/ComponentCacher.js \
scripts/ApplicationRegistry.js \
scripts/ItemFactory.js \
scriptFiles.files += $$SCRIPT_FILES
scriptFiles.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH/scripts
# qmldir
QMLDIR_FILE = qmldir
qmldirFile.files += $$QMLDIR_FILE
qmldirFile.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
# show in QtCreator
OTHER_FILES += $$QML_IMPORT_FILES \
$$SCRIPT_FILES \
qmldir \
INSTALLS += qmlImportFiles scriptFiles qmldirFile target
|