1
0
Fork 0

Don't try to find Qt 6 on Windows

This commit is contained in:
Ilya Fedin 2023-02-11 11:18:11 +04:00 committed by John Preston
parent 0f86a05ab0
commit 9310263cd6

View file

@ -25,7 +25,9 @@ if (NOT DESKTOP_APP_USE_PACKAGED)
endif()
if (NOT DEFINED QT_VERSION_MAJOR)
find_package(QT NAMES Qt6 COMPONENTS Core)
if (NOT WIN32)
find_package(QT NAMES Qt6 COMPONENTS Core)
endif()
if (NOT QT_FOUND)
find_package(QT NAMES Qt5 COMPONENTS Core REQUIRED)
endif()