Make Qmake copy package files instead of OS scripts

Described in commit 97e203fd89e7cb54c7ce96ce779b2e8cb6ac1374

The linux directory in package_files is included even on Windows install
for simplicity and because it takes up less than 1KB.
This commit is contained in:
Vasily
2019-07-24 10:54:55 +02:00
committed by username223
parent 6e088a6ec8
commit 46c8a62565
3 changed files with 4 additions and 7 deletions
+4 -1
View File
@@ -45,7 +45,7 @@ include($$include_dir/sources.pri)
include($$include_dir/resources.pri)
# Copy extra files
COPIES += resCopy readmeCopy licenseCopy
COPIES += resCopy readmeCopy licenseCopy packageFilesCopy
COPY_DEST_DIR = $$OUT_PWD/$$DESTDIR
resCopy.files = src/res/*
@@ -58,3 +58,6 @@ licenseCopy.files = LICENSE \
third-party/openvr/LICENSE-VALVE \
third-party/easylogging++/LICENSE-MIT
licenseCopy.path = $$COPY_DEST_DIR
packageFilesCopy.files = src/package_files/*
packageFilesCopy.path = $$COPY_DEST_DIR