Require Qt 6.5+
parent
51d8f9d96a
commit
259d6b46e4
|
@ -58,11 +58,7 @@ else()
|
|||
endif()
|
||||
message(STATUS "VERSION: ${CMAKE_PROJECT_VERSION}")
|
||||
|
||||
if(NOT QT_DEFAULT_MAJOR_VERSION)
|
||||
set(QT_DEFAULT_MAJOR_VERSION 6 CACHE STRING "" FORCE)
|
||||
endif()
|
||||
|
||||
find_package(Qt${QT_DEFAULT_MAJOR_VERSION} REQUIRED COMPONENTS
|
||||
find_package(Qt6 6.5.0 REQUIRED COMPONENTS
|
||||
Widgets
|
||||
Gui
|
||||
Network
|
||||
|
|
Loading…
Reference in New Issue