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