@@ -1,82 +1,88 | |||
|
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 | CONFIG -= create_cmake |
|
17 | 17 | |
|
18 | 18 | ############################# SOURCES ########################################## |
|
19 | 19 | |
|
20 | 20 | SOURCES += \ |
|
21 | 21 | $$PWD/chartdataset.cpp \ |
|
22 | 22 | $$PWD/chartpresenter.cpp \ |
|
23 | 23 | $$PWD/chartthememanager.cpp \ |
|
24 | 24 | $$PWD/qchart.cpp \ |
|
25 | 25 | $$PWD/qchartview.cpp \ |
|
26 | 26 | $$PWD/qabstractseries.cpp \ |
|
27 | 27 | $$PWD/chartbackground.cpp \ |
|
28 | 28 | $$PWD/chartelement.cpp \ |
|
29 | 29 | $$PWD/chartitem.cpp \ |
|
30 | 30 | $$PWD/scroller.cpp \ |
|
31 | 31 | $$PWD/charttitle.cpp \ |
|
32 | 32 | $$PWD/qpolarchart.cpp |
|
33 | 33 | PRIVATE_HEADERS += \ |
|
34 | 34 | $$PWD/chartdataset_p.h \ |
|
35 | 35 | $$PWD/chartitem_p.h \ |
|
36 | 36 | $$PWD/chartpresenter_p.h \ |
|
37 | 37 | $$PWD/chartthememanager_p.h \ |
|
38 | 38 | $$PWD/chartbackground_p.h \ |
|
39 | 39 | $$PWD/chartelement_p.h \ |
|
40 | 40 | $$PWD/chartconfig_p.h \ |
|
41 | 41 | $$PWD/qchart_p.h \ |
|
42 | 42 | $$PWD/qchartview_p.h \ |
|
43 | 43 | $$PWD/scroller_p.h \ |
|
44 | 44 | $$PWD/qabstractseries_p.h \ |
|
45 | 45 | $$PWD/charttitle_p.h \ |
|
46 | 46 | $$PWD/charthelpers_p.h |
|
47 | 47 | PUBLIC_HEADERS += \ |
|
48 | 48 | $$PWD/qchart.h \ |
|
49 | 49 | $$PWD/qchartglobal.h \ |
|
50 | 50 | $$PWD/qabstractseries.h \ |
|
51 | 51 | $$PWD/qchartview.h \ |
|
52 | 52 | $$PWD/chartsnamespace.h \ |
|
53 | 53 | $$PWD/qpolarchart.h |
|
54 | 54 | |
|
55 | 55 | include($$PWD/common.pri) |
|
56 | 56 | include($$PWD/animations/animations.pri) |
|
57 | 57 | include($$PWD/areachart/areachart.pri) |
|
58 | 58 | include($$PWD/axis/axis.pri) |
|
59 | 59 | include($$PWD/domain/domain.pri) |
|
60 | 60 | include($$PWD/barchart/barchart.pri) |
|
61 | 61 | include($$PWD/legend/legend.pri) |
|
62 | 62 | include($$PWD/linechart/linechart.pri) |
|
63 | 63 | include($$PWD/piechart/piechart.pri) |
|
64 | 64 | include($$PWD/scatterchart/scatter.pri) |
|
65 | 65 | include($$PWD/splinechart/splinechart.pri) |
|
66 | 66 | include($$PWD/themes/themes.pri) |
|
67 | 67 | include($$PWD/xychart/xychart.pri) |
|
68 | 68 | include($$PWD/layout/layout.pri) |
|
69 | 69 | include($$PWD/boxplotchart/boxplotchart.pri) |
|
70 | 70 | |
|
71 | 71 | HEADERS += $$PUBLIC_HEADERS |
|
72 | 72 | HEADERS += $$PRIVATE_HEADERS |
|
73 | 73 | HEADERS += $$THEMES |
|
74 | 74 | |
|
75 | 75 | OTHER_FILES += doc/qtcharts.qdocconf \ |
|
76 | 76 | doc/src/* \ |
|
77 | 77 | doc/images/* |
|
78 | 78 | |
|
79 | 79 | #Define for unit tests |
|
80 | 80 | CONFIG(debug, debug|release) { |
|
81 | 81 | DEFINES += BUILD_PRIVATE_UNIT_TESTS |
|
82 | 82 | } |
|
83 | ||
|
84 | msvc { | |
|
85 | # Suppress "conversion from 'size_t' to 'int', possible loss of data" warnings in 64bit | |
|
86 | # builds resulting from usage of str::sort | |
|
87 | QMAKE_CXXFLAGS_WARN_ON += -wd4267 | |
|
88 | } |
General Comments 0
You need to be logged in to leave comments.
Login now