volkov added a comment.
Please, replace QWeakPointer with QPointer in a separate commit. As for Solid::PowerManagement, it was actually added to the solid library as Solid::Power, but it's not built by default. Try to port to that new API. REPOSITORY R122 Powerdevil REVISION DETAIL https://phabricator.kde.org/D4939 To: denisshienkov, volkov Cc: broulik, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol