fix build

This commit is contained in:
Andrei Yankovich 2021-10-27 12:25:07 +03:00
parent a4e117678d
commit e2a2cd7c41
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,9 @@ CONFIG += ordered
lessThan(QT_MAJOR_VERSION, 6):lessThan(QT_MINOR_VERSION, 12) {
warning("Tests are only enabled on Qt 5.12.0 or later version. You are using $$[QT_VERSION].")
DEFINES += WITHOUT_TESTS
DEFINES += WITHOUT_TR
}
android: DEFINES += WITHOUT_TESTS
!android {

View File

@ -118,7 +118,7 @@ QMAKE_EXTRA_TARGETS += \
chmodSnap
!lessThan(QT_MAJOR_VERSION, 6):lessThan(QT_MINOR_VERSION, 12) {
contains(DEFINES, WITHOUT_TR) {
# Translations
SUPPORT_LANGS = ru