| Summary: | Templates for C++ Plasmoids look for KF6PlasmaConfig | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] libplasma | Reporter: | Matthias <shalokshalom> |
| Component: | libplasma | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | igorkuo, notmart |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/libplasma/-/commit/23247f4d9b9a6080b06b8073ea37046c0c3e2c8b | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
KF6PlasmaConfig not found
Plasma QML Applet with QML Extension Plasma QML/C++ Applet |
||
Are these the templates in question? https://invent.kde.org/plasma/libplasma/-/tree/8953e77ec26b90da0e79e3cf3ecb727034768d58/templates They are part of the libplasma repository, not KDevelop, so perhaps change the Product field accordingly? You could even try to fix the templates yourself and create a libplasma merge request. No, these are not even ported to 6 Those are the two templates, I mean. Upload Screenshots Created attachment 169089 [details]
Plasma QML Applet with QML Extension
Created attachment 169090 [details]
Plasma QML/C++ Applet
Can you find the broken template files in /usr/share/kdevappwizard/templates/ and check which package provides them? On my Qt 5 system different templates are provided by various packages: kdevelop, plasma-framework5, kio5, kirigami2, kdeplasma-addons, etc. Found newer templates in the Plasma/6.0 branch: https://invent.kde.org/plasma/libplasma/-/tree/Plasma/6.0/templates https://invent.kde.org/plasma/libplasma/-/tree/Plasma/6.0/templates/cpp-plasmoid6 https://invent.kde.org/plasma/libplasma/-/tree/Plasma/6.0/templates/qml-plasmoid6-with-qml-extension Those are the two in question. I found, that the CMakeLists.txt in /plugin and /src had been adjusted by Nicolas 5 months ago, the CMakeLists.txt in the upper directory, has not seen such an adjustment. Could it be, that this is the cause? (In reply to Matthias from comment #8) > I found, that the CMakeLists.txt in /plugin and /src had been adjusted by > Nicolas 5 months ago, the CMakeLists.txt in the upper directory, has not > seen such an adjustment. Could it be, that this is the cause? Sorry, I know almost nothing about plasmoids. Maybe someone else can answer that question and fix the issue. A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1124 Git commit 23247f4d9b9a6080b06b8073ea37046c0c3e2c8b by Nicolas Fella. Committed on 11/11/2024 at 12:44. Pushed by nicolasfella into branch 'master'. Fix applet template M +8 -7 templates/cpp-plasmoid6/CMakeLists.txt https://invent.kde.org/plasma/libplasma/-/commit/23247f4d9b9a6080b06b8073ea37046c0c3e2c8b |
Created attachment 169086 [details] KF6PlasmaConfig not found SUMMARY The two templates for C++ QML Plasmoids look for KF6PlasmaConfig, while they should look for PlasmaConfig. See screenshot STEPS TO REPRODUCE 1. Open up one of the C++ Plasmoid Templates 2. See error message Operating System: KaOS (2024) KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Kernel Version: 6.8.8-1-next (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5800U with Radeon Graphics Memory: 13,5 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: LENOVO Product Name: 82L0 System Version: Yoga Slim 7 Carbon 14ACN6