common.pri
29 lines
| 1.4 KiB
| text/plain
|
TextLexer
|
r52 | CONFIG+=integrated_build #remove if you want to build against installed libs | ||
|
r34 | |||
|
r193 | CHART_BUILD_PUBLIC_HEADER_DIR = $$PWD/include | ||
CHART_BUILD_PRIVATE_HEADER_DIR = $$CHART_BUILD_PUBLIC_HEADER_DIR/private | ||||
|
r33 | CHART_BUILD_LIB_DIR = $$PWD/lib | ||
CHART_BUILD_DIR = $$PWD/build | ||||
|
r41 | CHART_BUILD_BIN_DIR = $$PWD/bin | ||
|
r255 | CHART_BUILD_PLUGIN_DIR = $$CHART_BUILD_LIB_DIR/QtCommercial/Chart | ||
|
r307 | CHART_BUILD_DOC_DIR = $$PWD/doc | ||
|
r34 | |||
|
r37 | # hack to fix windows builds | ||
win32:{ | ||||
|
r193 | CHART_BUILD_PUBLIC_HEADER_DIR = $$replace(CHART_BUILD_PUBLIC_HEADER_DIR, "/","\\") | ||
CHART_BUILD_PRIVATE_HEADER_DIR = $$replace(CHART_BUILD_PRIVATE_HEADER_DIR, "/","\\") | ||||
|
r120 | CHART_BUILD_LIB_DIR = $$replace(CHART_BUILD_LIB_DIR, "/","\\") | ||
CHART_BUILD_BUILD_DIR = $$replace(CHART_BUILD_BUILD_DIR, "/","\\") | ||||
CHART_BUILD_BIN_DIR = $$replace(CHART_BUILD_BIN_DIR, "/","\\") | ||||
|
r255 | CHART_BUILD_PLUGIN_DIR = $$replace(CHART_BUILD_PLUGIN_DIR, "/","\\") | ||
|
r307 | CHART_BUILD_DOC_DIR = $$replace(CHART_BUILD_DOC_DIR, "/","\\") | ||
|
r37 | } | ||
|
r33 | |||
|
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 | ||||
} | ||||