1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-01-19 20:22:56 +08:00
TaoQuick/TaoQuick.pro

41 lines
817 B
Prolog
Raw Permalink Normal View History

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 += \
# 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/*