@@ -45,6 +45,8 mac: { | |||||
45 | # it should probably define the minimum OSX version to be 10.5... |
|
45 | # it should probably define the minimum OSX version to be 10.5... | |
46 | QMAKE_CXXFLAGS *= -mmacosx-version-min=10.5 |
|
46 | QMAKE_CXXFLAGS *= -mmacosx-version-min=10.5 | |
47 | QMAKE_LFLAGS *= -mmacosx-version-min=10.5 |
|
47 | QMAKE_LFLAGS *= -mmacosx-version-min=10.5 | |
|
48 | ||||
|
49 | CHART_BUILD_LIB_DIR = $$CHART_BUILD_BIN_DIR | |||
48 | } |
|
50 | } | |
49 |
|
51 | |||
50 | ##################### DEVELOPMENT BUILD ################################################### |
|
52 | ##################### DEVELOPMENT BUILD ################################################### | |
@@ -80,7 +82,6 development_build: { | |||||
80 |
|
82 | |||
81 | LIBS += -l$$LIBRARY_NAME |
|
83 | LIBS += -l$$LIBRARY_NAME | |
82 |
|
84 | |||
83 |
|
||||
84 | mac: { |
|
85 | mac: { | |
85 | # This is a hack to make binaries to use the internal version of the QtCommercial Charts library on OSX |
|
86 | # This is a hack to make binaries to use the internal version of the QtCommercial Charts library on OSX | |
86 | CHARTS_LIB_NAME = libQtCommercialChart.1.dylib |
|
87 | CHARTS_LIB_NAME = libQtCommercialChart.1.dylib | |
@@ -109,7 +110,5 development_build: { | |||||
109 | } |
|
110 | } | |
110 |
|
111 | |||
111 | } else { |
|
112 | } else { | |
112 |
|
||||
113 | CONFIG += qtcommercialchart |
|
113 | CONFIG += qtcommercialchart | |
114 |
|
||||
115 | } |
|
114 | } |
@@ -48,5 +48,4 INSTALLS += target qmldir | |||||
48 |
|
48 | |||
49 | FILE = $$PWD/qmldir |
|
49 | FILE = $$PWD/qmldir | |
50 | win32:{FILE = $$replace(FILE, "/","\\")} |
|
50 | win32:{FILE = $$replace(FILE, "/","\\")} | |
51 | mac: QMAKE_POST_LINK += " & " |
|
|||
52 | QMAKE_POST_LINK += $$QMAKE_COPY $$FILE $$CHART_BUILD_PLUGIN_DIR |
|
51 | QMAKE_POST_LINK += $$QMAKE_COPY $$FILE $$CHART_BUILD_PLUGIN_DIR |
General Comments 0
You need to be logged in to leave comments.
Login now