diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2016-05-20 10:50:46 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2016-05-20 10:50:53 +0200 |
commit | fa01244e5233c7c1f7a862121c079bff2d8e055c (patch) | |
tree | 71d03cadce14ee59dc64cab13b5910a0e6e07f1a /examples/sensors/sensor_explorer/import/import.pro | |
parent | f32489e379805c51b28ae5d471491a649283fd8d (diff) | |
parent | 8698282befc874bd38862558350f3f1993ba0053 (diff) | |
download | qtsensors-fa01244e5233c7c1f7a862121c079bff2d8e055c.tar.gz |
Merge remote-tracking branch 'gerrit/5.7' into 5.7.0
Change-Id: I2568fef18d7edbf4377739920538ee2ec4c8ec22
Diffstat (limited to 'examples/sensors/sensor_explorer/import/import.pro')
-rw-r--r-- | examples/sensors/sensor_explorer/import/import.pro | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/examples/sensors/sensor_explorer/import/import.pro b/examples/sensors/sensor_explorer/import/import.pro index a5fe441..6ba501c 100644 --- a/examples/sensors/sensor_explorer/import/import.pro +++ b/examples/sensors/sensor_explorer/import/import.pro @@ -24,17 +24,12 @@ qmldir.files=$$PWD/qmldir qmldir.path=$$DESTPATH INSTALLS += target qmldir -OTHER_FILES += \ - plugin.json qmldir - -copyfile = $$PWD/qmldir -copydest = $$DESTDIR +CONFIG += install_ok # Do not cargo-cult this! -# On Windows, use backslashes as directory separators -equals(QMAKE_HOST.os, Windows) { - copyfile ~= s,/,\\,g - copydest ~= s,/,\\,g -} +OTHER_FILES += \ + import.json qmldir # Copy the qmldir file to the same folder as the plugin binary -QMAKE_POST_LINK += $$QMAKE_COPY $$quote($$copyfile) $$quote($$copydest) $$escape_expand(\\n\\t) +cpqmldir.files = $$PWD/qmldir +cpqmldir.path = $$DESTDIR +COPIES += cpqmldir |