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