Make Qmake copy licenses instead of OS scripts

Described in commit 97e203fd89e7cb54c7ce96ce779b2e8cb6ac1374

Linux was not including any license files by mistake.
This commit is contained in:
Vasily
2019-07-24 10:54:55 +02:00
committed by username223
parent 9fc22ccbb4
commit 6e088a6ec8
4 changed files with 6 additions and 6 deletions
+6 -1
View File
@@ -45,7 +45,7 @@ include($$include_dir/sources.pri)
include($$include_dir/resources.pri)
# Copy extra files
COPIES += resCopy readmeCopy
COPIES += resCopy readmeCopy licenseCopy
COPY_DEST_DIR = $$OUT_PWD/$$DESTDIR
resCopy.files = src/res/*
@@ -53,3 +53,8 @@ resCopy.path = $$COPY_DEST_DIR/res
readmeCopy.files = Readme.md
readmeCopy.path = $$COPY_DEST_DIR
licenseCopy.files = LICENSE \
third-party/openvr/LICENSE-VALVE \
third-party/easylogging++/LICENSE-MIT
licenseCopy.path = $$COPY_DEST_DIR
-5
View File
@@ -119,11 +119,6 @@ def deploy():
say("Copying necessary files:")
#license
copy_file(get_project_dir() + "\\LICENSE", get_deploy_dir() + "\\LICENSE-GPL.txt")
copy_file(get_project_dir() + "\\third-party\\openvr\\LICENSE", get_deploy_dir() + "\\LICENSE-VALVE.txt")
copy_file(get_project_dir() + "\\third-party\\easylogging++\\LICENSE", get_deploy_dir() + "\\LICENSE-MIT.txt")
#package files
copy_folder(get_project_dir() + "\\src\\package_files", get_deploy_dir())