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