Use a common way to check for Qt6 instead of introducing UB
This commit is contained in:
parent
49036313d0
commit
b2ea4212fd
2 changed files with 1 additions and 3 deletions
|
|
@ -21,8 +21,6 @@ CONFIG += c++17
|
|||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 5): DEFINES += _QT6
|
||||
|
||||
#-----------------------------------------------------------------------------------------------#
|
||||
# Application Configuration #
|
||||
#-----------------------------------------------------------------------------------------------#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue