aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-04-22 20:47:58 +0200
committerJani Heikkinen <jani.heikkinen@qt.io>2016-05-13 04:35:22 +0000
commit578d2717196cdf109d459c7a63b5085dc0791747 (patch)
tree50758ec06fa533d470ffdca61c6963457a145a33 /examples/qml
parente6f5f57c5349e42e1350b0d5ce2150e0a8743253 (diff)
make use of COPIES
Change-Id: I479c9523a89be1d64364e8205daa5860e16882cc Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'examples/qml')
-rw-r--r--examples/qml/tutorials/extending-qml/chapter6-plugins/import/import.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/import/import.pro b/examples/qml/tutorials/extending-qml/chapter6-plugins/import/import.pro
index cefcf3b477..43bf976f09 100644
--- a/examples/qml/tutorials/extending-qml/chapter6-plugins/import/import.pro
+++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/import/import.pro
@@ -23,4 +23,6 @@ INSTALLS += target qmldir
OTHER_FILES += qmldir
# Copy the qmldir file to the same folder as the plugin binary
-QMAKE_POST_LINK += $$QMAKE_COPY $$replace($$list($$quote($$PWD/qmldir) $$DESTDIR), /, $$QMAKE_DIR_SEP)
+cpqmldir.files = qmldir
+cpqmldir.path = $$DESTDIR
+COPIES += cpqmldir