##// END OF EJS Templates
set up relation with c++ module correctly....
Oswald Buddenhagen -
r2888:e6ca20f36ae5
parent child
Show More
@@ -1,65 +1,62
1
1
2 TARGET = qtchartsqml2
2 TARGET = qtchartsqml2
3 CXX_MODULE = charts
4
3 QT += qml quick
5 QT += qml quick
4 QT += charts charts-private
6 QT += charts charts-private
5 TARGETPATH = QtCharts
6
7 IMPORT_VERSION = $$MODULE_VERSION
8
7
9 # Only build qml plugin static if Qt itself is also built static
8 # Only build qml plugin static if Qt itself is also built static
10 !contains(QT_CONFIG, static): CONFIG -= static staticlib
9 !contains(QT_CONFIG, static): CONFIG -= static staticlib
11
10
12 include($$PWD/designer/designer.pri)
11 include($$PWD/designer/designer.pri)
13
12
14 SOURCES += \
13 SOURCES += \
15 chartsqml2_plugin.cpp \
14 chartsqml2_plugin.cpp \
16 declarativechart.cpp \
15 declarativechart.cpp \
17 declarativexypoint.cpp \
16 declarativexypoint.cpp \
18 declarativexyseries.cpp \
17 declarativexyseries.cpp \
19 declarativelineseries.cpp \
18 declarativelineseries.cpp \
20 declarativesplineseries.cpp \
19 declarativesplineseries.cpp \
21 declarativeareaseries.cpp \
20 declarativeareaseries.cpp \
22 declarativescatterseries.cpp \
21 declarativescatterseries.cpp \
23 declarativepieseries.cpp \
22 declarativepieseries.cpp \
24 declarativebarseries.cpp \
23 declarativebarseries.cpp \
25 declarativecategoryaxis.cpp \
24 declarativecategoryaxis.cpp \
26 declarativemargins.cpp \
25 declarativemargins.cpp \
27 declarativeaxes.cpp \
26 declarativeaxes.cpp \
28 declarativepolarchart.cpp \
27 declarativepolarchart.cpp \
29 declarativeboxplotseries.cpp \
28 declarativeboxplotseries.cpp \
30 declarativechartnode.cpp \
29 declarativechartnode.cpp \
31 declarativerendernode.cpp
30 declarativerendernode.cpp
32
31
33 HEADERS += \
32 HEADERS += \
34 declarativechart.h \
33 declarativechart.h \
35 declarativexypoint.h \
34 declarativexypoint.h \
36 declarativexyseries.h \
35 declarativexyseries.h \
37 declarativelineseries.h \
36 declarativelineseries.h \
38 declarativesplineseries.h \
37 declarativesplineseries.h \
39 declarativeareaseries.h \
38 declarativeareaseries.h \
40 declarativescatterseries.h \
39 declarativescatterseries.h \
41 declarativepieseries.h \
40 declarativepieseries.h \
42 declarativebarseries.h \
41 declarativebarseries.h \
43 declarativecategoryaxis.h \
42 declarativecategoryaxis.h \
44 declarativemargins.h \
43 declarativemargins.h \
45 declarativeaxes.h \
44 declarativeaxes.h \
46 declarativepolarchart.h \
45 declarativepolarchart.h \
47 declarativeboxplotseries.h \
46 declarativeboxplotseries.h \
48 declarativechartnode.h \
47 declarativechartnode.h \
49 declarativerendernode.h
48 declarativerendernode.h
50
49
51 OTHER_FILES = qmldir
50 OTHER_FILES = qmldir
52
51
53 CONFIG += no_cxx_module
54
55 load(qml_plugin)
52 load(qml_plugin)
56
53
57 win32 {
54 win32 {
58 CONFIG += skip_target_version_ext
55 CONFIG += skip_target_version_ext
59 VERSION = $$MODULE_VERSION
56 VERSION = $$MODULE_VERSION
60 QMAKE_TARGET_PRODUCT = "Qt Charts (Qt $$QT_VERSION)"
57 QMAKE_TARGET_PRODUCT = "Qt Charts (Qt $$QT_VERSION)"
61 QMAKE_TARGET_DESCRIPTION = "Charts QML plugin for Qt."
58 QMAKE_TARGET_DESCRIPTION = "Charts QML plugin for Qt."
62 }
59 }
63
60
64 QML_FILES += \
61 QML_FILES += \
65 $$PWD/plugins.qmltypes
62 $$PWD/plugins.qmltypes
General Comments 0
You need to be logged in to leave comments. Login now