Don't try to find Qt 6 on Windows
This commit is contained in:
parent
0f86a05ab0
commit
9310263cd6
1 changed files with 3 additions and 1 deletions
4
external/qt/package.cmake
vendored
4
external/qt/package.cmake
vendored
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue