charts.pro
98 lines
| 2.6 KiB
| text/idl
|
PrologLexer
Titta Heikkala
|
r2712 | ############################# BUILD CONFIG ###################################### | ||
TARGET = QtCharts | ||||
message($$QT_CONFIG) | ||||
QT = core gui widgets | ||||
DEFINES += QT_CHARTS_LIBRARY | ||||
Miikka Heikkinen
|
r2861 | contains(QT_COORD_TYPE, float): DEFINES += QT_QREAL_IS_FLOAT | ||
Titta Heikkala
|
r2712 | # Fix exports in static builds for applications linking charts module | ||
static: MODULE_DEFINES += QT_CHARTS_STATICLIB | ||||
MODULE_INCNAME = QtCharts | ||||
QMAKE_DOCS = $$PWD/doc/qtcharts.qdocconf | ||||
load(qt_module) | ||||
Antti Kokko
|
r2809 | QMAKE_TARGET_PRODUCT = "Qt Charts (Qt $$QT_VERSION)" | ||
QMAKE_TARGET_DESCRIPTION = "Charts component for Qt." | ||||
Titta Heikkala
|
r2712 | ############################# SOURCES ########################################## | ||
SOURCES += \ | ||||
$$PWD/chartdataset.cpp \ | ||||
$$PWD/chartpresenter.cpp \ | ||||
$$PWD/chartthememanager.cpp \ | ||||
$$PWD/qchart.cpp \ | ||||
$$PWD/qchartview.cpp \ | ||||
$$PWD/qabstractseries.cpp \ | ||||
$$PWD/chartbackground.cpp \ | ||||
$$PWD/chartelement.cpp \ | ||||
$$PWD/chartitem.cpp \ | ||||
$$PWD/scroller.cpp \ | ||||
$$PWD/charttitle.cpp \ | ||||
$$PWD/qpolarchart.cpp | ||||
Miikka Heikkinen
|
r2820 | |||
contains(QT_CONFIG, opengl): SOURCES += $$PWD/glwidget.cpp | ||||
Titta Heikkala
|
r2712 | PRIVATE_HEADERS += \ | ||
$$PWD/chartdataset_p.h \ | ||||
$$PWD/chartitem_p.h \ | ||||
$$PWD/chartpresenter_p.h \ | ||||
$$PWD/chartthememanager_p.h \ | ||||
$$PWD/chartbackground_p.h \ | ||||
$$PWD/chartelement_p.h \ | ||||
$$PWD/chartconfig_p.h \ | ||||
$$PWD/qchart_p.h \ | ||||
$$PWD/qchartview_p.h \ | ||||
$$PWD/scroller_p.h \ | ||||
$$PWD/qabstractseries_p.h \ | ||||
$$PWD/charttitle_p.h \ | ||||
$$PWD/charthelpers_p.h | ||||
Miikka Heikkinen
|
r2820 | |||
contains(QT_CONFIG, opengl): PRIVATE_HEADERS += $$PWD/glwidget_p.h | ||||
Titta Heikkala
|
r2712 | PUBLIC_HEADERS += \ | ||
$$PWD/qchart.h \ | ||||
$$PWD/qchartglobal.h \ | ||||
$$PWD/qabstractseries.h \ | ||||
$$PWD/qchartview.h \ | ||||
$$PWD/chartsnamespace.h \ | ||||
$$PWD/qpolarchart.h | ||||
include($$PWD/common.pri) | ||||
include($$PWD/animations/animations.pri) | ||||
include($$PWD/areachart/areachart.pri) | ||||
include($$PWD/axis/axis.pri) | ||||
include($$PWD/domain/domain.pri) | ||||
include($$PWD/barchart/barchart.pri) | ||||
include($$PWD/legend/legend.pri) | ||||
include($$PWD/linechart/linechart.pri) | ||||
include($$PWD/piechart/piechart.pri) | ||||
include($$PWD/scatterchart/scatter.pri) | ||||
include($$PWD/splinechart/splinechart.pri) | ||||
include($$PWD/themes/themes.pri) | ||||
include($$PWD/xychart/xychart.pri) | ||||
include($$PWD/layout/layout.pri) | ||||
include($$PWD/boxplotchart/boxplotchart.pri) | ||||
HEADERS += $$PUBLIC_HEADERS | ||||
HEADERS += $$PRIVATE_HEADERS | ||||
HEADERS += $$THEMES | ||||
OTHER_FILES += doc/qtcharts.qdocconf \ | ||||
doc/src/* \ | ||||
doc/images/* | ||||
Miikka Heikkinen
|
r2713 | msvc { | ||
# Suppress "conversion from 'size_t' to 'int', possible loss of data" warnings in 64bit | ||||
# builds resulting from usage of str::sort | ||||
QMAKE_CXXFLAGS_WARN_ON += -wd4267 | ||||
} | ||||
Miikka Heikkinen
|
r2736 | |||
Miikka Heikkinen
|
r2737 | win32:!winrt:!wince { | ||
Miikka Heikkinen
|
r2736 | # ChartThemeSystem uses Windows native API | ||
Miikka Heikkinen
|
r2737 | LIBS += -luser32 | ||
Miikka Heikkinen
|
r2736 | } | ||