@@ -1,82 +1,72 | |||
|
1 | 1 | |
|
2 | 2 | TARGET = qtchartsqml2 |
|
3 | 3 | QT += qml quick |
|
4 | 4 | QT += charts charts-private |
|
5 | 5 | TARGETPATH = QtCharts |
|
6 | 6 | |
|
7 | 7 | IMPORT_VERSION = $$MODULE_VERSION |
|
8 | 8 | |
|
9 | 9 | # Only build qml plugin static if Qt itself is also built static |
|
10 | 10 | !contains(QT_CONFIG, static): CONFIG -= static staticlib |
|
11 | 11 | |
|
12 | 12 | include($$PWD/designer/designer.pri) |
|
13 | 13 | |
|
14 | 14 | INCLUDEPATH += ../../include \ |
|
15 | 15 | ../../include/QtCharts \ |
|
16 | 16 | ../charts \ |
|
17 | 17 | ../charts/animations \ |
|
18 | 18 | ../charts/axis \ |
|
19 | 19 | ../charts/domain |
|
20 | 20 | |
|
21 | 21 | SOURCES += \ |
|
22 | 22 | chartsqml2_plugin.cpp \ |
|
23 | 23 | declarativechart.cpp \ |
|
24 | 24 | declarativexypoint.cpp \ |
|
25 | 25 | declarativexyseries.cpp \ |
|
26 | 26 | declarativelineseries.cpp \ |
|
27 | 27 | declarativesplineseries.cpp \ |
|
28 | 28 | declarativeareaseries.cpp \ |
|
29 | 29 | declarativescatterseries.cpp \ |
|
30 | 30 | declarativepieseries.cpp \ |
|
31 | 31 | declarativebarseries.cpp \ |
|
32 | 32 | declarativecategoryaxis.cpp \ |
|
33 | 33 | declarativemargins.cpp \ |
|
34 | 34 | declarativeaxes.cpp \ |
|
35 | 35 | declarativepolarchart.cpp \ |
|
36 | 36 | declarativeboxplotseries.cpp \ |
|
37 | 37 | declarativechartnode.cpp \ |
|
38 | 38 | declarativerendernode.cpp |
|
39 | 39 | |
|
40 | 40 | HEADERS += \ |
|
41 | 41 | declarativechart.h \ |
|
42 | 42 | declarativexypoint.h \ |
|
43 | 43 | declarativexyseries.h \ |
|
44 | 44 | declarativelineseries.h \ |
|
45 | 45 | declarativesplineseries.h \ |
|
46 | 46 | declarativeareaseries.h \ |
|
47 | 47 | declarativescatterseries.h \ |
|
48 | 48 | declarativepieseries.h \ |
|
49 | 49 | declarativebarseries.h \ |
|
50 | 50 | declarativecategoryaxis.h \ |
|
51 | 51 | declarativemargins.h \ |
|
52 | 52 | declarativeaxes.h \ |
|
53 | 53 | declarativepolarchart.h \ |
|
54 | 54 | declarativeboxplotseries.h \ |
|
55 | 55 | declarativechartnode.h \ |
|
56 | 56 | declarativerendernode.h |
|
57 | 57 | |
|
58 | 58 | OTHER_FILES = qmldir |
|
59 | 59 | |
|
60 | 60 | CONFIG += no_cxx_module |
|
61 | 61 | |
|
62 | 62 | load(qml_plugin) |
|
63 | 63 | |
|
64 | 64 | win32 { |
|
65 | 65 | CONFIG += skip_target_version_ext |
|
66 | 66 | VERSION = $$MODULE_VERSION |
|
67 | 67 | QMAKE_TARGET_PRODUCT = "Qt Charts (Qt $$QT_VERSION)" |
|
68 | 68 | QMAKE_TARGET_DESCRIPTION = "Charts QML plugin for Qt." |
|
69 | 69 | } |
|
70 | 70 | |
|
71 | # Copy qmldir to DESTDIR so we can use the plugin directly from there in our examples | |
|
72 | # without having to do 'make install'. | |
|
73 | !android:!ios { | |
|
74 | copy_qmldir.target = $$DESTDIR/qmldir | |
|
75 | copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir | |
|
76 | copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\" | |
|
77 | QMAKE_EXTRA_TARGETS += copy_qmldir | |
|
78 | PRE_TARGETDEPS += $$copy_qmldir.target | |
|
79 | } | |
|
80 | ||
|
81 | 71 | QML_FILES += \ |
|
82 | 72 | $$PWD/plugins.qmltypes |
General Comments 0
You need to be logged in to leave comments.
Login now