##// END OF EJS Templates
Simplified QML plugin QMAKE_POST_LINK
Tero Ahola -
r1027:7f7a6a22e44b
parent child
Show More
@@ -46,15 +46,7 qmldir.files += $$PWD/qmldir
46 qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
46 qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
47 INSTALLS += target qmldir
47 INSTALLS += target qmldir
48
48
49 !mac {
49 FILE = $$PWD/qmldir
50 FILE = $$PWD/qmldir
50 win32:{FILE = $$replace(FILE, "/","\\")}
51 win32:{FILE = $$replace(FILE, "/","\\")}
51 mac: QMAKE_POST_LINK += " & "
52 QMAKE_POST_LINK += $$QMAKE_COPY $$FILE $$CHART_BUILD_PLUGIN_DIR
52 QMAKE_POST_LINK += $$QMAKE_COPY $$FILE $$CHART_BUILD_PLUGIN_DIR
53 }else{
54 # Hack to make qml plugins available as internal build versions
55 exists($$CHART_BUILD_PLUGIN_DIR"/lib"$$TARGET".dylib") {
56 QMAKE_POST_LINK += " & $$QMAKE_COPY qmldir $$CHART_BUILD_PLUGIN_DIR"
57 }
58 }
59
60
General Comments 0
You need to be logged in to leave comments. Login now