diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-04-22 20:57:00 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-04-28 18:59:05 +0000 |
commit | c77494fcf6f637069157d5607195755d687ea86a (patch) | |
tree | 66b1a57a1f8637153c2e01a6739da84d1d64a163 /examples/sensors/grue | |
parent | 0b00ee6f6c311a7f5c0b4f2441dad97a454d172e (diff) | |
download | qtsensors-c77494fcf6f637069157d5607195755d687ea86a.tar.gz |
make use of COPIES
Change-Id: I1df10894b0d0e4adba411db2dfc818f8bd39f6df
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'examples/sensors/grue')
-rw-r--r-- | examples/sensors/grue/import/import.pro | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/examples/sensors/grue/import/import.pro b/examples/sensors/grue/import/import.pro index 08b312d..e9b578f 100644 --- a/examples/sensors/grue/import/import.pro +++ b/examples/sensors/grue/import/import.pro @@ -27,14 +27,7 @@ INSTALLS += qmldir OTHER_FILES += \ plugin.json qmldir -copyfile = $$PWD/qmldir -copydest = $$DESTDIR - -# On Windows, use backslashes as directory separators -equals(QMAKE_HOST.os, Windows) { - copyfile ~= s,/,\\,g - copydest ~= s,/,\\,g -} - # 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 |