diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d509d10..926b1a6d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ include(GenerateExportHeader) include(WriteBasicConfigVersionFile) include(FeatureSummary) -find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) +find_package(ECM ${KF6_MIN_VERSION} REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake) set(CMAKE_CXX_STANDARD 20) @@ -121,18 +121,18 @@ function(build_Qt6) TYPE OPTIONAL PURPOSE "Required to use KStyle convenience functionalities in style") - find_package(KF6KCMUtils ${KF6_MIN_VERSION}) - set_package_properties(KF6KCMUtils PROPERTIES - TYPE REQUIRED - DESCRIPTION "Helps create configuration modules" - PURPOSE "KCMUtils used for the configuration modules or the decoration and Qt Style" - ) +# find_package(KF6KCMUtils ${KF6_MIN_VERSION}) +# set_package_properties(KF6KCMUtils PROPERTIES +# TYPE REQUIRED +# DESCRIPTION "Helps create configuration modules" +# PURPOSE "KCMUtils used for the configuration modules or the decoration and Qt Style" +# ) else() set(WITH_DECORATIONS OFF) set(WITH_WALLPAPERS OFF) endif() - find_package(Qt6 ${QT_MIN_VERSION} REQUIRED CONFIG COMPONENTS Widgets Core Svg) + find_package(Qt6 ${QT_MIN_VERSION} REQUIRED CONFIG COMPONENTS Widgets Core Svg DBus OpenGL Network) find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS CoreAddons @@ -143,7 +143,7 @@ function(build_Qt6) IconThemes WindowSystem) - find_package(Qt6 ${QT_MIN_VERSION} OPTIONAL_COMPONENTS Quick) +# find_package(Qt6 ${QT_MIN_VERSION} OPTIONAL_COMPONENTS Quick) if(${Qt6Quick_FOUND}) find_package(KF6KirigamiPlatform ${KF6_MIN_VERSION} REQUIRED) endif()