@@ -1,16 +1,24 | |||||
1 | CONFIG+=integrated_build #remove if you want to build against installed libs |
|
1 | CONFIG+=integrated_build #remove if you want to build against installed libs | |
2 |
|
2 | |||
3 | CHART_BUILD_HEADER_DIR = $$PWD/include |
|
3 | CHART_BUILD_HEADER_DIR = $$PWD/include | |
4 | CHART_BUILD_LIB_DIR = $$PWD/lib |
|
4 | CHART_BUILD_LIB_DIR = $$PWD/lib | |
5 | CHART_BUILD_DIR = $$PWD/build |
|
5 | CHART_BUILD_DIR = $$PWD/build | |
6 | CHART_BUILD_BIN_DIR = $$PWD/bin |
|
6 | CHART_BUILD_BIN_DIR = $$PWD/bin | |
7 |
|
7 | |||
8 | # hack to fix windows builds |
|
8 | # hack to fix windows builds | |
9 |
|
9 | |||
10 | win32:{ |
|
10 | win32:{ | |
11 | CHART_BUILD_HEADER_DIR = $$replace(CHART_BUILD_HEADER_DIR, "/","\\") |
|
11 | CHART_BUILD_HEADER_DIR = $$replace(CHART_BUILD_HEADER_DIR, "/","\\") | |
12 | CHART_BUILD_LIB_DIR = $$replace(CHART_BUILD_LIB_DIR, "/","\\") |
|
12 | CHART_BUILD_LIB_DIR = $$replace(CHART_BUILD_LIB_DIR, "/","\\") | |
13 | CHART_BUILD_BUILD_DIR = $$replace(CHART_BUILD_BUILD_DIR, "/","\\") |
|
13 | CHART_BUILD_BUILD_DIR = $$replace(CHART_BUILD_BUILD_DIR, "/","\\") | |
14 | CHART_BUILD_BIN_DIR = $$replace(CHART_BUILD_BIN_DIR, "/","\\") |
|
14 | CHART_BUILD_BIN_DIR = $$replace(CHART_BUILD_BIN_DIR, "/","\\") | |
15 | } |
|
15 | } | |
16 |
|
16 | |||
|
17 | mac: { | |||
|
18 | # TODO: The following qmake flags are a work-around to make QtCommercial Charts compile on | |||
|
19 | # QtCommercial 4.8. On the other hand Charts builds successfully with Qt open source 4.8 | |||
|
20 | # without these definitions, so this is probably a configuration issue on QtCommercial 4.8; | |||
|
21 | # it should probably define the minimum OSX version to be 10.5... | |||
|
22 | QMAKE_CXXFLAGS *= -mmacosx-version-min=10.5 | |||
|
23 | QMAKE_LFLAGS *= -mmacosx-version-min=10.5 | |||
|
24 | } |
General Comments 0
You need to be logged in to leave comments.
Login now