2018-08-19 11:00:13 +03:00
|
|
|
#
|
2021-01-05 13:17:11 +03:00
|
|
|
# Copyright (C) 2018-2021 QuasarApp.
|
2018-08-19 11:00:13 +03:00
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2018-08-17 20:47:49 +03:00
|
|
|
TEMPLATE = subdirs
|
|
|
|
CONFIG += ordered
|
2020-05-09 20:01:19 +03:00
|
|
|
|
2021-02-07 08:16:44 +08:00
|
|
|
lessThan(QT_MAJOR_VERSION, 6):lessThan(QT_MINOR_VERSION, 12) {
|
2021-02-07 08:37:55 +08:00
|
|
|
warning("Tests are only enabled on Qt 5.12.0 or later version. You are using $$[QT_VERSION].")
|
2020-05-09 20:01:19 +03:00
|
|
|
DEFINES += WITHOUT_TESTS
|
|
|
|
}
|
2021-02-09 12:27:09 +08:00
|
|
|
android: DEFINES += WITHOUT_TESTS
|
2020-05-09 20:01:19 +03:00
|
|
|
|
2019-06-28 16:41:24 +03:00
|
|
|
!android {
|
2020-02-04 16:59:37 +03:00
|
|
|
SUBDIRS += QuasarAppLib \
|
|
|
|
Pe \
|
2020-08-14 10:46:30 +03:00
|
|
|
zip \
|
2020-02-04 16:59:37 +03:00
|
|
|
Deploy \
|
|
|
|
CQtDeployer \
|
|
|
|
UnitTests \
|
|
|
|
tests/TestOnlyC \
|
2021-05-21 19:07:42 +03:00
|
|
|
tests/TestCPPOnly \
|
2020-02-04 16:59:37 +03:00
|
|
|
tests/TestQtWidgets \
|
2021-03-03 14:10:53 +03:00
|
|
|
tests/TestQMLWidgets \
|
|
|
|
tests/virtualkeyboard
|
2019-09-19 09:57:20 +03:00
|
|
|
|
2020-02-27 21:01:32 +03:00
|
|
|
unix:SUBDIRS += tests/quicknanobrowser
|
2020-11-27 22:58:51 +03:00
|
|
|
unix:SUBDIRS += tests/webui
|
|
|
|
|
2018-11-23 14:56:55 +03:00
|
|
|
|
2020-02-04 16:59:37 +03:00
|
|
|
contains(DEFINES, WITHOUT_TESTS) {
|
|
|
|
SUBDIRS -= UnitTests \
|
|
|
|
tests/TestOnlyC \
|
2021-05-21 19:07:42 +03:00
|
|
|
tests/TestCPPOnly \
|
2020-02-04 16:59:37 +03:00
|
|
|
tests/TestQtWidgets \
|
|
|
|
tests/TestQMLWidgets \
|
2020-11-27 22:58:51 +03:00
|
|
|
tests/quicknanobrowser \
|
|
|
|
tests/webui
|
2020-02-04 16:59:37 +03:00
|
|
|
}
|
2018-11-23 14:56:55 +03:00
|
|
|
|
2020-02-04 16:59:37 +03:00
|
|
|
CQtDeployer.depends=QuasarAppLib
|
|
|
|
CQtDeployer.depends=Deploy
|
2019-01-26 09:03:29 +03:00
|
|
|
|
2020-02-04 16:59:37 +03:00
|
|
|
QuasarAppLib.file = $$PWD/QuasarAppLib/QuasarApp.pro
|
|
|
|
Pe.file = $$PWD/pe/pe-parser-library/pe-parser-library.pro
|
2019-01-26 15:34:39 +03:00
|
|
|
|
2020-02-06 15:04:55 +03:00
|
|
|
include('$$PWD/QIFData/installerCQtDeployer.pri')
|
2019-05-15 15:18:33 +03:00
|
|
|
|
2020-02-04 16:59:37 +03:00
|
|
|
DISTFILES += \
|
|
|
|
snap/snapcraft.yaml \
|
2020-05-06 13:35:13 +03:00
|
|
|
snap/gui/cqtdeployer.desktop \
|
2020-02-04 16:59:37 +03:00
|
|
|
README.md \
|
2019-05-15 15:18:33 +03:00
|
|
|
|
2019-04-06 21:55:53 +03:00
|
|
|
|
2020-02-04 16:51:00 +03:00
|
|
|
}
|
2021-02-09 11:47:55 +08:00
|
|
|
include($$PWD/test.pri)
|
2019-04-06 21:55:53 +03:00
|
|
|
|