@@ -18,7 +18,9 staticlib: CONFIG-=staticlib | |||
|
18 | 18 | android { |
|
19 | 19 | # Workaround to fix android deployment, which seems to always look for target in |
|
20 | 20 | # OUT_PWD instead of DESTDIR. |
|
21 |
|
|
|
21 | COPY_PARAMETERS = "$$CHART_BUILD_BIN_DIR/lib$${TARGET}.so $$OUT_PWD/lib$${TARGET}.so" | |
|
22 | contains(QMAKE_HOST.os, Windows): COPY_PARAMETERS = $$replace(COPY_PARAMETERS, "/","\\") | |
|
23 | QMAKE_POST_LINK += $$QMAKE_COPY $$COPY_PARAMETERS | |
|
22 | 24 | |
|
23 | 25 | contains(TARGET, qml.*) { |
|
24 | 26 | charts_qmldir.files = $$CHART_BUILD_QML_PLUGIN_DIR/qmldir |
@@ -18,7 +18,9 staticlib: CONFIG-=staticlib | |||
|
18 | 18 | android { |
|
19 | 19 | # Workaround to fix android deployment, which seems to always look for target in |
|
20 | 20 | # OUT_PWD instead of DESTDIR. |
|
21 |
|
|
|
21 | COPY_PARAMETERS = "$$CHART_BUILD_BIN_DIR/lib$${TARGET}.so $$OUT_PWD/lib$${TARGET}.so" | |
|
22 | contains(QMAKE_HOST.os, Windows): COPY_PARAMETERS = $$replace(COPY_PARAMETERS, "/","\\") | |
|
23 | QMAKE_POST_LINK += $$QMAKE_COPY $$COPY_PARAMETERS | |
|
22 | 24 | |
|
23 | 25 | contains(TARGET, qml.*) { |
|
24 | 26 | charts_qmldir.files = $$CHART_BUILD_QML_PLUGIN_DIR/qmldir |
@@ -13,7 +13,9 android { | |||
|
13 | 13 | # Workaround to fix android deployment, which seems to always look for target in |
|
14 | 14 | # OUT_PWD instead of DESTDIR. Need to override the QMAKE_POST_LINK setting done |
|
15 | 15 | # in tests.pri, as "tst_" was prepended to the target. |
|
16 |
|
|
|
16 | COPY_PARAMETERS = "$$CHART_BUILD_BIN_DIR/lib$${TARGET}.so $$OUT_PWD/lib$${TARGET}.so" | |
|
17 | contains(QMAKE_HOST.os, Windows): COPY_PARAMETERS = $$replace(COPY_PARAMETERS, "/","\\") | |
|
18 | QMAKE_POST_LINK += $$QMAKE_COPY $$COPY_PARAMETERS | |
|
17 | 19 | } |
|
18 | 20 | |
|
19 | 21 | INCLUDEPATH += ../inc |
@@ -16,7 +16,9 staticlib: CONFIG-=staticlib | |||
|
16 | 16 | android { |
|
17 | 17 | # Workaround to fix android deployment, which seems to always look for target in |
|
18 | 18 | # OUT_PWD instead of DESTDIR. |
|
19 |
|
|
|
19 | COPY_PARAMETERS = "$$CHART_BUILD_BIN_DIR/lib$${TARGET}.so $$OUT_PWD/lib$${TARGET}.so" | |
|
20 | contains(QMAKE_HOST.os, Windows): COPY_PARAMETERS = $$replace(COPY_PARAMETERS, "/","\\") | |
|
21 | QMAKE_POST_LINK += $$QMAKE_COPY $$COPY_PARAMETERS | |
|
20 | 22 | |
|
21 | 23 | contains(TARGET, qml.*) { |
|
22 | 24 | charts_qmldir.files = $$CHART_BUILD_QML_PLUGIN_DIR/qmldir |
General Comments 0
You need to be logged in to leave comments.
Login now