##// END OF EJS Templates
Check the index is within the valid range...
Check the index is within the valid range Change-Id: I6fe736f912d760b6fd5745cb4572d8cb6d3b49f0 Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>

File last commit:

r2737:eba5b2aa1cb7
r2765:bcd1945731d3
Show More
charts.pro
92 lines | 2.4 KiB | text/idl | PrologLexer
Titta Heikkala
Qt Charts project file structure change...
r2712 ############################# BUILD CONFIG ######################################
TARGET = QtCharts
message($$QT_CONFIG)
QT = core gui widgets
DEFINES += QT_CHARTS_LIBRARY
# 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)
############################# 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
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
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/*
#Define for unit tests
CONFIG(debug, debug|release) {
DEFINES += BUILD_PRIVATE_UNIT_TESTS
}
Miikka Heikkinen
Suppress a warning in msvc 64bit builds...
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
Fix build issue with dynamic OpenGL configurations...
r2736
Miikka Heikkinen
Fix mingw builds....
r2737 win32:!winrt:!wince {
Miikka Heikkinen
Fix build issue with dynamic OpenGL configurations...
r2736 # ChartThemeSystem uses Windows native API
Miikka Heikkinen
Fix mingw builds....
r2737 LIBS += -luser32
Miikka Heikkinen
Fix build issue with dynamic OpenGL configurations...
r2736 }