Bug 457464

Summary: kcm_bluetooth.so is not being installed to kcms/systemsettings which results in inability to open Bluetooth settings
Product: [Unmaintained] Bluedevil Reporter: SergTruf <bugtracker>
Component: generalAssignee: David Rosca <nowrep>
Status: RESOLVED FIXED    
Severity: normal CC: bugtracker, nicolas.fella, plasma-bugs-null
Priority: NOR Keywords: regression
Version First Reported In: master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description SergTruf 2022-08-03 21:31:07 UTC
SUMMARY
latest commints include deleting below line from src/kcm/CMakeLists.txt:
install(TARGETS kcm_bluetooth DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings)

which results in missing /usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_bluetooth.so
and now ` systemsettings kcm_bluetooth` opens nothing

STEPS TO REPRODUCE
1. get master sources
2. compile & install
3. Bluetooth system settings are missing (kcmshell5 --list|grep blue) 

OBSERVED RESULT
No Bluetooth Settings widget/view

EXPECTED RESULT
Should be able to see bluetooth settings

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.25.80 
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2022-08-03 22:11:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/bluedevil/-/merge_requests/92
Comment 2 Nicolas Fella 2022-08-03 22:30:40 UTC
Git commit 6c209a2f8f05c89fdd8d10cc6becf9127b4a7a58 by Nicolas Fella.
Committed on 03/08/2022 at 22:11.
Pushed by nicolasfella into branch 'master'.

Fix installing the kcm

27266c6f7558f32cfa2108d096d0ae1af314c324 inadvertently removed the relevant line

While at it use the kcoreaddons macro

M  +1    -1    src/kcm/CMakeLists.txt

https://invent.kde.org/plasma/bluedevil/commit/6c209a2f8f05c89fdd8d10cc6becf9127b4a7a58