2020-11-04 13:34:57 +08:00
|
|
|
defineTest(minQtVersion) {
|
|
|
|
maj = $$1
|
|
|
|
min = $$2
|
|
|
|
patch = $$3
|
|
|
|
isEqual(QT_MAJOR_VERSION, $$maj) {
|
|
|
|
isEqual(QT_MINOR_VERSION, $$min) {
|
|
|
|
isEqual(QT_PATCH_VERSION, $$patch) {
|
|
|
|
return(true)
|
|
|
|
}
|
|
|
|
greaterThan(QT_PATCH_VERSION, $$patch) {
|
|
|
|
return(true)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
greaterThan(QT_MINOR_VERSION, $$min) {
|
|
|
|
return(true)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
greaterThan(QT_MAJOR_VERSION, $$maj) {
|
|
|
|
return(true)
|
|
|
|
}
|
|
|
|
return(false)
|
|
|
|
}
|
|
|
|
|
|
|
|
!minQtVersion(5, 9, 0) {
|
2020-11-09 01:16:08 +08:00
|
|
|
error("TaoQuick minimum supported Qt5 version is 5.9.0")
|
2020-06-05 00:59:40 +08:00
|
|
|
}
|
|
|
|
|
2019-07-18 10:17:02 +08:00
|
|
|
TEMPLATE = subdirs
|
2020-06-05 00:59:40 +08:00
|
|
|
|
2019-07-18 10:17:02 +08:00
|
|
|
SUBDIRS += \
|
2020-10-13 17:13:04 +08:00
|
|
|
# src \
|
2020-06-30 00:34:25 +08:00
|
|
|
examples
|
|
|
|
CONFIG+= ordered
|
2019-07-18 10:17:02 +08:00
|
|
|
|
2020-06-05 00:59:40 +08:00
|
|
|
OTHER_FILES += *.md \
|
2019-12-18 12:12:40 +08:00
|
|
|
LICENSE \
|
2020-11-08 03:09:31 +08:00
|
|
|
_clang-format \
|
2020-06-05 00:59:40 +08:00
|
|
|
.qmake.conf \
|
2020-06-19 10:25:24 +08:00
|
|
|
.github/workflows/* \
|
|
|
|
mkspecs/features/*
|