Properly detect Qt 6

It doesn't compile yet on Qt 6 but I'm working on it.
This commit is contained in:
Rodrigo Torres
2021-08-20 13:50:06 -03:00
parent b9a3b3cce4
commit 53683a8c89
3 changed files with 35 additions and 32 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ SUBDIRS += \
demo_r2 \
designer
greaterThan(QT_MAJOR_VERSION, 4) : greaterThan(QT_MINOR_VERSION, 1) {
if(equals(QT_MAJOR_VERSION, 5) : greaterThan(QT_MINOR_VERSION, 1)) | equals(QT_MAJOR_VERSION, 6) {
SUBDIRS += console
}