win 1.1.1

This commit is contained in:
Andrei Yankovich 2019-01-26 09:03:29 +03:00
parent f2763019a0
commit 5cd777a27b
4 changed files with 24 additions and 1 deletions

View File

@ -21,3 +21,5 @@ contains(DEFINES, WITH_TESTS) {
CQtDeployer.depends=QuasarAppLib
QuasarAppLib.file = $$PWD/QuasarAppLib/QuasarApp.pro
win32:include('$$PWD/CQtDeployerWinBuild.pri')

View File

@ -32,6 +32,7 @@ isEmpty(PREFIX){
}
include('$$PWD/../QuasarAppLib/QuasarLib.pri')
include('$$PWD/../QuasarAppLib/Etalons/qmake/install_prefix.pri')
win32:include('$$PWD/CQtDeployerWinBuild.pri')
install_data.files += $$DESTDIR/$$runfiletype
install_data.files += $$QUASARAPP_LIB_OUTPUT_DIR/$$libfiletype
@ -65,5 +66,7 @@ DISTFILES += \
../staticBuildCrossWin.sh \
../sharedBuild.bat
win32: LIBS += -lshlwapi
win32: RC_ICONS = $$PWD/../res/icon.ico

@ -1 +1 @@
Subproject commit e046fd18e36c68aa9f1886c4057106f9a637ed07
Subproject commit 52375b4fde67d4fd31eb614f9779fb897b64a83d

18
CQtDeployerWinBuild.pri Normal file
View File

@ -0,0 +1,18 @@
#
# Copyright (C) 2018-2019 QuasarApp.
# Distributed under the lgplv3 software license, see the accompanying
# Everyone is permitted to copy and distribute verbatim copies
# of this license document, but changing it is not allowed.
#
win32:CONFIG(release, debug|release): {
DEPLOYER = $$PWD/CQtDeployerBinaries/Windows/cqtdeployer.exe
DEPLOY_TARGET = $$PWD/build/release/cqtdeployer.exe
BASE_DEPLOY_FLAGS = clear -qmake $$QMAKE_QMAKE -targetDir $$PWD/distro -libDir $$PWD/ -recursiveDepth 5
deployTarget.commands = $$DEPLOYER $$BASE_DEPLOY_FLAGS -bin $$DEPLOY_TARGET
QMAKE_EXTRA_TARGETS += \
deployTarget
}