fix: build KF6 KNewStuff widgets
This commit is contained in:
@@ -23,7 +23,7 @@ include(ECMQtDeclareLoggingCategory)
|
||||
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
|
||||
|
||||
set(REQUIRED_QT_VERSION 6.6.0)
|
||||
find_package(Qt6 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED COMPONENTS Gui Xml)
|
||||
find_package(Qt6 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED COMPONENTS Gui Widgets Xml Qml Quick QuickWidgets)
|
||||
find_package(KF6Archive ${KF_DEP_VERSION} REQUIRED)
|
||||
find_package(KF6Config ${KF_DEP_VERSION} REQUIRED)
|
||||
find_package(KF6CoreAddons ${KF_DEP_VERSION} REQUIRED)
|
||||
@@ -40,7 +40,7 @@ include(KDEClangFormat)
|
||||
include(KDEGitCommitHooks)
|
||||
include(CMakeDependentOption)
|
||||
|
||||
# find_package(KF6Attica disabled - KF6Attica not yet available)
|
||||
find_package(KF6Attica ${KF_DEP_VERSION} REQUIRED)
|
||||
set_package_properties(KF6Attica PROPERTIES DESCRIPTION "A Qt library that implements the Open Collaboration Services API"
|
||||
PURPOSE "Support for Get Hot New Stuff in KNewStuff"
|
||||
URL "https://commits.kde.org/attica"
|
||||
|
||||
@@ -6,7 +6,7 @@ add_subdirectory(core)
|
||||
# add_subdirectory(qtquick) # disabled for Redox core-only build
|
||||
# add_subdirectory(tools) # disabled for Redox core-only build
|
||||
|
||||
# add_subdirectory(widgets) # disabled for Redox core-only build
|
||||
add_subdirectory(widgets)
|
||||
ecm_qt_install_logging_categories(
|
||||
EXPORT KNEWSTUFF
|
||||
FILE knewstuff.categories
|
||||
|
||||
Reference in New Issue
Block a user