Skip to content

Commit a39b78c

Browse files
committed
Require Qt >=6.5 at CMake configure time
This was raised to at least 6.5 in 7660ad0 but this wasn't enforced. And not for lack of trying, the version check wouldn't have worked as the name of the variable was wrong too.
1 parent 85abace commit a39b78c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,8 @@ endif()
437437
set_package_properties(Qt${QT_VERSION_MAJOR}Core PROPERTIES TYPE REQUIRED)
438438

439439
find_package(Qt${QT_VERSION_MAJOR} NO_MODULE REQUIRED COMPONENTS Gui Network)
440-
if(QT_VERSION_MAJOR EQUAL 6 AND QT_VERSION_MINOR LESS 3)
441-
message(FATAL_ERROR "Sorry, Qt6 less than version 6.3 is not supported since GammaRay 3.1")
440+
if(QT_VERSION_MAJOR EQUAL 6 AND Qt${QT_VERSION_MAJOR}Core_VERSION_MINOR LESS 5)
441+
message(FATAL_ERROR "Sorry, Qt6 less than version 6.5 is not supported since GammaRay 3.3")
442442
endif()
443443

444444
find_package(

0 commit comments

Comments
 (0)