@@ -1,101 +1,100 | |||
|
1 | 1 | ############################# BUILD CONFIG ###################################### |
|
2 | 2 | |
|
3 | 3 | TARGET = QtCharts |
|
4 | 4 | |
|
5 | message($$QT_CONFIG) | |
|
6 | 5 | QT = core gui widgets |
|
7 | 6 | DEFINES += QT_CHARTS_LIBRARY |
|
8 | 7 | # Fix exports in static builds for applications linking charts module |
|
9 | 8 | static: MODULE_DEFINES += QT_CHARTS_STATICLIB |
|
10 | 9 | |
|
11 | 10 | MODULE_INCNAME = QtCharts |
|
12 | 11 | |
|
13 | 12 | QMAKE_DOCS = $$PWD/doc/qtcharts.qdocconf |
|
14 | 13 | |
|
15 | 14 | load(qt_module) |
|
16 | 15 | |
|
17 | 16 | QMAKE_TARGET_PRODUCT = "Qt Charts (Qt $$QT_VERSION)" |
|
18 | 17 | QMAKE_TARGET_DESCRIPTION = "Charts component for Qt." |
|
19 | 18 | |
|
20 | 19 | ############################# SOURCES ########################################## |
|
21 | 20 | |
|
22 | 21 | SOURCES += \ |
|
23 | 22 | $$PWD/chartdataset.cpp \ |
|
24 | 23 | $$PWD/chartpresenter.cpp \ |
|
25 | 24 | $$PWD/chartthememanager.cpp \ |
|
26 | 25 | $$PWD/qchart.cpp \ |
|
27 | 26 | $$PWD/qchartview.cpp \ |
|
28 | 27 | $$PWD/qabstractseries.cpp \ |
|
29 | 28 | $$PWD/chartbackground.cpp \ |
|
30 | 29 | $$PWD/chartelement.cpp \ |
|
31 | 30 | $$PWD/chartitem.cpp \ |
|
32 | 31 | $$PWD/scroller.cpp \ |
|
33 | 32 | $$PWD/charttitle.cpp \ |
|
34 | 33 | $$PWD/qpolarchart.cpp |
|
35 | 34 | |
|
36 | 35 | contains(QT_CONFIG, opengl): SOURCES += $$PWD/glwidget.cpp |
|
37 | 36 | |
|
38 | 37 | PRIVATE_HEADERS += \ |
|
39 | 38 | $$PWD/chartdataset_p.h \ |
|
40 | 39 | $$PWD/chartitem_p.h \ |
|
41 | 40 | $$PWD/chartpresenter_p.h \ |
|
42 | 41 | $$PWD/chartthememanager_p.h \ |
|
43 | 42 | $$PWD/chartbackground_p.h \ |
|
44 | 43 | $$PWD/chartelement_p.h \ |
|
45 | 44 | $$PWD/chartconfig_p.h \ |
|
46 | 45 | $$PWD/qchart_p.h \ |
|
47 | 46 | $$PWD/qchartview_p.h \ |
|
48 | 47 | $$PWD/scroller_p.h \ |
|
49 | 48 | $$PWD/qabstractseries_p.h \ |
|
50 | 49 | $$PWD/charttitle_p.h \ |
|
51 | 50 | $$PWD/charthelpers_p.h |
|
52 | 51 | |
|
53 | 52 | contains(QT_CONFIG, opengl): PRIVATE_HEADERS += $$PWD/glwidget_p.h |
|
54 | 53 | |
|
55 | 54 | PUBLIC_HEADERS += \ |
|
56 | 55 | $$PWD/qchart.h \ |
|
57 | 56 | $$PWD/qchartglobal.h \ |
|
58 | 57 | $$PWD/qabstractseries.h \ |
|
59 | 58 | $$PWD/qchartview.h \ |
|
60 | 59 | $$PWD/chartsnamespace.h \ |
|
61 | 60 | $$PWD/qpolarchart.h |
|
62 | 61 | |
|
63 | 62 | include($$PWD/common.pri) |
|
64 | 63 | include($$PWD/animations/animations.pri) |
|
65 | 64 | include($$PWD/areachart/areachart.pri) |
|
66 | 65 | include($$PWD/axis/axis.pri) |
|
67 | 66 | include($$PWD/domain/domain.pri) |
|
68 | 67 | include($$PWD/barchart/barchart.pri) |
|
69 | 68 | include($$PWD/legend/legend.pri) |
|
70 | 69 | include($$PWD/linechart/linechart.pri) |
|
71 | 70 | include($$PWD/piechart/piechart.pri) |
|
72 | 71 | include($$PWD/scatterchart/scatter.pri) |
|
73 | 72 | include($$PWD/splinechart/splinechart.pri) |
|
74 | 73 | include($$PWD/themes/themes.pri) |
|
75 | 74 | include($$PWD/xychart/xychart.pri) |
|
76 | 75 | include($$PWD/layout/layout.pri) |
|
77 | 76 | include($$PWD/boxplotchart/boxplotchart.pri) |
|
78 | 77 | |
|
79 | 78 | HEADERS += $$PUBLIC_HEADERS |
|
80 | 79 | HEADERS += $$PRIVATE_HEADERS |
|
81 | 80 | HEADERS += $$THEMES |
|
82 | 81 | |
|
83 | 82 | OTHER_FILES += doc/qtcharts.qdocconf \ |
|
84 | 83 | doc/src/* \ |
|
85 | 84 | doc/images/* |
|
86 | 85 | |
|
87 | 86 | #Define for unit tests |
|
88 | 87 | CONFIG(debug, debug|release) { |
|
89 | 88 | DEFINES += BUILD_PRIVATE_UNIT_TESTS |
|
90 | 89 | } |
|
91 | 90 | |
|
92 | 91 | msvc { |
|
93 | 92 | # Suppress "conversion from 'size_t' to 'int', possible loss of data" warnings in 64bit |
|
94 | 93 | # builds resulting from usage of str::sort |
|
95 | 94 | QMAKE_CXXFLAGS_WARN_ON += -wd4267 |
|
96 | 95 | } |
|
97 | 96 | |
|
98 | 97 | win32:!winrt:!wince { |
|
99 | 98 | # ChartThemeSystem uses Windows native API |
|
100 | 99 | LIBS += -luser32 |
|
101 | 100 | } |
General Comments 0
You need to be logged in to leave comments.
Login now