[utilities/kdebugsettings] /: Prepare to implement kcm support
Laurent Montel <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 2b8d46a543de94a49cb15875eec88b52a8475bd0 by Laurent Montel.
Committed on 29/07/2026 at 11:24.
Pushed by mlaurent into branch 'master'.
Prepare to implement kcm support
M +1 -0 .kde-ci.yml
M +1 -0 CMakeLists.txt
M +7 -0 REUSE.toml
M +1 -0 src/CMakeLists.txt
A +14 -0 src/kcm/CMakeLists.txt
A +11 -0 src/kcm/kcm_debugsettings.json
https://invent.kde.org/utilities/kdebugsettings/-/commit/2b8d46a543de94a49cb15875eec88b52a8475bd0
diff --git a/.kde-ci.yml b/.kde-ci.yml
index 80443072..378989c4 100644
--- a/.kde-ci.yml
+++ b/.kde-ci.yml
@@ -14,6 +14,7 @@ Dependencies:
'frameworks/kxmlgui': '@latest-kf6'
'frameworks/kiconthemes': '@latest-kf6'
'frameworks/kcrash': '@latest-kf6'
+ 'frameworks/kcmutils': '@latest-kf6'
- 'on': ['Linux', 'FreeBSD']
'require':
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b03af025..55d8d420 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -107,6 +107,7 @@ find_package(
XmlGui
IconThemes
Crash
+ KCMUtils
)
# shall we use DBus?
diff --git a/REUSE.toml b/REUSE.toml
index 05bc018a..7bbcbffb 100644
--- a/REUSE.toml
+++ b/REUSE.toml
@@ -34,3 +34,10 @@ path = ["po/**"]
precedence = "aggregate"
SPDX-FileCopyrightText = "none"
SPDX-License-Identifier = "LGPL-2.0-or-later"
+
+
+[[annotations]]
+path = ["src/kcm/kcm_debugsettings.json"]
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2026 Laurent Montel <[email protected]>"
+SPDX-License-Identifier = "BSD-3-Clause"
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 29299ceb..f6a6878c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -6,6 +6,7 @@ add_subdirectory(apps)
add_subdirectory(data)
add_subdirectory(widgets)
add_subdirectory(quickapps)
+# add_subdirectory(kcm)
# Selenium GUI tests
if(SeleniumWebDriverATSPI_FOUND)
diff --git a/src/kcm/CMakeLists.txt b/src/kcm/CMakeLists.txt
new file mode 100644
index 00000000..b49c8dbe
--- /dev/null
+++ b/src/kcm/CMakeLists.txt
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: 2026 Laurent Montel <[email protected]>
+# SPDX-License-Identifier: BSD-3-Clause
+kcmutils_add_qml_kcm(kcm_debugsettings)
+
+target_sources(kcm_debugsettings PRIVATE cellularnetworksettings.cpp)
+target_link_libraries(
+ kcm_debugsettings
+ PRIVATE
+ Qt::Gui
+ Qt::Quick
+ Qt::Qml
+ KF6::I18n
+ KF6::KCMUtilsQuick
+)
diff --git a/src/kcm/kcm_debugsettings.json b/src/kcm/kcm_debugsettings.json
new file mode 100644
index 00000000..89e45f88
--- /dev/null
+++ b/src/kcm/kcm_debugsettings.json
@@ -0,0 +1,11 @@
+{
+ "Categories": "Qt;KDE;X-KDE-settings-system;",
+ "KPlugin": {
+ "Description": "Configure Debug Categories Settings",
+ "Icon": "debug-run",
+ "Name": "Debug Settings"
+ },
+ "X-KDE-Keywords": "debug,categories",
+ "X-KDE-System-Settings-Parent-Category": "network",
+ "X-KDE-Weight": 70
+}