@@ -46,8 +46,6 mac: { | |||
|
46 | 46 | # it should probably define the minimum OSX version to be 10.5... |
|
47 | 47 | QMAKE_CXXFLAGS *= -mmacosx-version-min=10.5 |
|
48 | 48 | QMAKE_LFLAGS *= -mmacosx-version-min=10.5 |
|
49 | ||
|
50 | CHART_BUILD_LIB_DIR = $$CHART_BUILD_BIN_DIR | |
|
51 | 49 | } |
|
52 | 50 | |
|
53 | 51 | ##################### DEVELOPMENT BUILD ################################################### |
@@ -168,9 +168,14 win32:{ | |||
|
168 | 168 | } |
|
169 | 169 | |
|
170 | 170 | mac: { |
|
171 |
# Update the name (id) of the library on OSX to point to the lib |
|
|
171 | # Update the name (id) of the library on OSX to point to the lib path | |
|
172 | 172 | MAC_CHARTS_LIB_NAME = "lib"$$LIBRARY_NAME".1.dylib" |
|
173 | 173 | QMAKE_POST_LINK += "install_name_tool -id $$CHART_BUILD_LIB_DIR"/"$$MAC_CHARTS_LIB_NAME $$CHART_BUILD_LIB_DIR"/"$$MAC_CHARTS_LIB_NAME" |
|
174 | ||
|
175 | # Update the name (id) of the installed library on OSX to point to the installation path | |
|
176 | postinstall.path = $$[QT_INSTALL_LIBS] | |
|
177 | postinstall.extra = "install_name_tool -id $$[QT_INSTALL_LIBS]"/"$$MAC_CHARTS_LIB_NAME $$[QT_INSTALL_LIBS]"/"$$MAC_CHARTS_LIB_NAME" | |
|
178 | INSTALLS += postinstall | |
|
174 | 179 | } |
|
175 | 180 | |
|
176 | 181 | ################################ DEVELOPMENT BUILD ########################################## |
General Comments 0
You need to be logged in to leave comments.
Login now