diff --git a/common.pri b/common.pri index db250bd..acf75e5 100644 --- a/common.pri +++ b/common.pri @@ -14,3 +14,11 @@ CHART_BUILD_BUILD_DIR = $$replace(CHART_BUILD_BUILD_DIR, "/","\\") CHART_BUILD_BIN_DIR = $$replace(CHART_BUILD_BIN_DIR, "/","\\") } +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 +}