##// END OF EJS Templates
PieSeries won't crash anymore if mapped columns/rows are not existing
PieSeries won't crash anymore if mapped columns/rows are not existing

File last commit:

r1050:9c2134399082
r1086:c79a09d1d08f
Show More
config.pri
109 lines | 4.0 KiB | text/plain | TextLexer
Michal Klocek
Add test to common build
r34
Michal Klocek
Simplfies default configuration
r1021 LIBRARY_NAME = QtCommercialChart
##################### SHADOW CONFIG #################################################
Michal Klocek
Chages 'find' to 'contains' in src.pro to make windows linux build the same
r711 !contains($${PWD}, $${OUT_PWD}){
Michal Klocek
Improves build configuration...
r996 search = "$$PWD:::"
Michal Klocek
Adds shadow build support
r708 temp = $$split(search,"/")
temp = $$last(temp)
path = $$replace(search,$$temp,'')
temp = $$split(OUT_PWD,$$path)
temp = $$split(temp,'/')
temp = $$first(temp)
path = "$${path}$${temp}"
Michal Klocek
Improves build configuration...
r996 SHADOW=$$path
Michal Klocek
Chages 'find' to 'contains' in src.pro to make windows linux build the same
r711 }else{
SHADOW=$$PWD
Michal Klocek
Updates development_build option
r998 CONFIG-=development_build
Michal Klocek
Adds shadow build support
r708 }
Michal Klocek
Simplfies default configuration
r1021 ##################### BUILD PATHS ##################################################
Michal Klocek
Adds shadow build support
r708 CHART_BUILD_PUBLIC_HEADER_DIR = $$SHADOW/include
Michal Klocek
Adds private headers handling...
r193 CHART_BUILD_PRIVATE_HEADER_DIR = $$CHART_BUILD_PUBLIC_HEADER_DIR/private
Michal Klocek
Adds shadow build support
r708 CHART_BUILD_LIB_DIR = $$SHADOW/lib
CHART_BUILD_DIR = $$SHADOW/build
CHART_BUILD_BIN_DIR = $$SHADOW/bin
Michal Klocek
Simplfies default configuration
r1021 CHART_BUILD_PLUGIN_DIR = $$CHART_BUILD_BIN_DIR/QtCommercial/Chart
Michal Klocek
Adds shadow build support
r708 CHART_BUILD_DOC_DIR = $$SHADOW/doc
Michal Klocek
Fix compilation config for windows
r37 win32:{
Michal Klocek
Adds private headers handling...
r193 CHART_BUILD_PUBLIC_HEADER_DIR = $$replace(CHART_BUILD_PUBLIC_HEADER_DIR, "/","\\")
CHART_BUILD_PRIVATE_HEADER_DIR = $$replace(CHART_BUILD_PRIVATE_HEADER_DIR, "/","\\")
Tero Ahola
Proof-of-concept for QML api...
r120 CHART_BUILD_BUILD_DIR = $$replace(CHART_BUILD_BUILD_DIR, "/","\\")
CHART_BUILD_BIN_DIR = $$replace(CHART_BUILD_BIN_DIR, "/","\\")
Michal Klocek
Add qmlplugin support for integrated build
r255 CHART_BUILD_PLUGIN_DIR = $$replace(CHART_BUILD_PLUGIN_DIR, "/","\\")
Michal Klocek
make doc config windows friendly
r307 CHART_BUILD_DOC_DIR = $$replace(CHART_BUILD_DOC_DIR, "/","\\")
Michal Klocek
minor. put back old build path
r1042 CHART_BUILD_LIB_DIR = $$replace(CHART_BUILD_LIB_DIR, "/","\\")
Michal Klocek
Fix compilation config for windows
r37 }
Michal Klocek
Improved config handling...
r33
Tero Ahola
Fixed build on QtCommercial 4.8
r100 mac: {
# TODO: The following qmake flags are a work-around to make QtCommercial Charts compile on
# QtCommercial 4.8. On the other hand Charts builds successfully with Qt open source 4.8
# without these definitions, so this is probably a configuration issue on QtCommercial 4.8;
# it should probably define the minimum OSX version to be 10.5...
QMAKE_CXXFLAGS *= -mmacosx-version-min=10.5
QMAKE_LFLAGS *= -mmacosx-version-min=10.5
Tero Ahola
Simplified OSX local builds
r1034
CHART_BUILD_LIB_DIR = $$CHART_BUILD_BIN_DIR
Tero Ahola
Fixed build on QtCommercial 4.8
r100 }
Michal Klocek
Improves build configuration...
r996
Michal Klocek
Simplfies default configuration
r1021 ##################### DEVELOPMENT BUILD ###################################################
Michal Klocek
Updates development_build option
r998 development_build: {
DEFINES+=DEVELOPMENT_BUILD
Michal Klocek
minor. missing line option
r1000 CONFIG+=debug_and_release
Michal Klocek
Simplfies default configuration
r1021 }
##################### BUILD CONFIG ########################################################
!system_build:{
INCLUDEPATH += $$CHART_BUILD_PUBLIC_HEADER_DIR
!win32: {
LIBS += -L $$CHART_BUILD_LIB_DIR -Wl,-rpath,$$CHART_BUILD_LIB_DIR
}else{
win32-msvc*: {
# hack fix for error:
# "LINK : fatal error LNK1146: no argument specified with option '/LIBPATH:'"
QMAKE_LIBDIR += $$CHART_BUILD_LIB_DIR
}else{
LIBS += -L $$CHART_BUILD_LIB_DIR
}
}
CONFIG(debug, debug|release) {
Michal Klocek
minor . missing prefix for w32
r1025 mac: LIBRARY_NAME = $$join(LIBRARY_NAME,,,_debug)
win32: LIBRARY_NAME = $$join(LIBRARY_NAME,,,d)
Michal Klocek
Simplfies default configuration
r1021 }
Tero Ahola
Simplified OSX local builds
r1034 LIBS += -l$$LIBRARY_NAME
Michal Klocek
Simplfies default configuration
r1021
mac: {
Tero Ahola
Hacked library dependency issues on OSX
r1035 # This is a hack; we define variables for easier install_name_tool calls from project files of OSX executables/libraries
# install_name_tool is used to update the dependencies to chart library to match the local build folder
MAC_CHARTS_LIB_NAME = "lib"$$LIBRARY_NAME".1.dylib"
Michal Klocek
Simplfies default configuration
r1021 CONFIG(debug, debug|release) {
Tero Ahola
Hacked library dependency issues on OSX
r1035 MAC_CHARTS_LIB_NAME = "lib"$$LIBRARY_NAME".1.dylib"
Michal Klocek
Simplfies default configuration
r1021 }
Tero Ahola
Hacked library dependency issues on OSX
r1035 MAC_POST_LINK_PREFIX = install_name_tool -change $$MAC_CHARTS_LIB_NAME $$CHART_BUILD_LIB_DIR"/"$$MAC_CHARTS_LIB_NAME
MAC_DEMOS_BIN_DIR = $$CHART_BUILD_BIN_DIR"/"$$TARGET".app/Contents/MacOS/"$$TARGET
MAC_EXAMPLES_BIN_DIR = $$CHART_BUILD_BIN_DIR"/"$$TARGET".app/Contents/MacOS/"$$TARGET
MAC_TESTS_BIN_DIR = $$CHART_BUILD_BIN_DIR"/test/"$$TARGET".app/Contents/MacOS/"$$TARGET
MAC_AUTOTESTS_BIN_DIR = $$CHART_BUILD_BIN_DIR"/test/tst_"$$TARGET".app/Contents/MacOS/tst_"$$TARGET
MAC_PLUGINS_BIN_DIR = $$CHART_BUILD_PLUGIN_DIR"/lib"$$TARGET".dylib"
Michal Klocek
Simplfies default configuration
r1021 }
Michal Klocek
Changes QChartAxisCategories -> QAxisCategories
r1032 } else {
Tero Ahola
Simplified OSX local builds
r1034 CONFIG += qtcommercialchart
}
Michal Klocek
Adds visibility hidden compilation flag, adds EXPORT_AUTO macro for interal unit testing
r1050
##################### UNIT TESTS ##############################################################
CONFIG(debug, debug|release) {
CONFIG+=test_private
DEFINES+=BUILD_PRIVATE_UNIT_TESTS
}