mirror of
https://github.com/QuasarApp/CQtDeployer.git
synced 2025-04-27 18:24:33 +00:00
fix build on windows and android
This commit is contained in:
parent
86485e64a0
commit
f0438be2ea
@ -16,7 +16,7 @@ SUBDIRS += QuasarAppLib \
|
||||
tests/TestOnlyC \
|
||||
tests/TestQtWidgets \
|
||||
tests/TestQMLWidgets
|
||||
}
|
||||
|
||||
|
||||
contains(DEFINES, WITH_ALL_TESTS) {
|
||||
SUBDIRS += tests/quicknanobrowser
|
||||
@ -45,3 +45,4 @@ DISTFILES += \
|
||||
README.md \
|
||||
|
||||
|
||||
}
|
||||
|
5
test.pri
5
test.pri
@ -3,11 +3,14 @@ win32:exec = $$PWD/UnitTests/build/release/UnitTests.exe
|
||||
|
||||
QT_DIR= $$[QT_HOST_BINS]
|
||||
win32:QMAKE_BIN= $$QT_DIR/qmake.exe
|
||||
win32:DEPLOYER= %cqtdeployer%
|
||||
contains(QMAKE_HOST.os, Linux):{
|
||||
QMAKE_BIN= $$QT_DIR/qmake
|
||||
win32:DEPLOYER= cqtdeployer
|
||||
|
||||
}
|
||||
|
||||
deployTest.commands = cqtdeployer -bin $$exec clear -qmake $$QMAKE_BIN -targetDir $$PWD/deployTests -libDir $$PWD -recursiveDepth 4
|
||||
deployTest.commands = $$DEPLOYER -bin $$exec clear -qmake $$QMAKE_BIN -targetDir $$PWD/deployTests -libDir $$PWD -recursiveDepth 4
|
||||
|
||||
|
||||
test.depends = deployTest
|
||||
|
Loading…
x
Reference in New Issue
Block a user