0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-09 05:57:14 +03:00

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

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
}