[qt] Drop support for Qt5 and update to Qt 6.8.1 (#3138)

This commit is contained in:
Tadej Novak
2025-01-14 06:45:33 +01:00
committed by GitHub
parent 20f1a03c91
commit 79d625b03c
10 changed files with 17 additions and 126 deletions

View File

@@ -32,7 +32,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
endif()
if("${QT_VERSION_MAJOR}" STREQUAL "")
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
find_package(QT NAMES Qt6 COMPONENTS Core REQUIRED)
else()
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
endif()