The Exec line in kglobalaccel/src/runtime/org.kde.kglobalaccel.service.in [D-BUS Service] Name=org.kde.kglobalaccel Exec=@CMAKE_INSTALL_PREFIX@/bin/kglobalaccel5 and ./kglobalaccel/src/runtime/dbus/org.kde.kglobalaccel.service.in [D-BUS Service] Name=org.kde.kglobalaccel Exec=@CMAKE_INSTALL_PREFIX@/bin/kglobalaccel5 will not work on Windows (see bug 382458 for details) Instead the prefix in the Exec line needs to be completely removed on windows e.g. Exec=@SOME_PREFIX@kglobalaccel5 with SOME_PREFIX set to empty on Windows and to ${CMAKE_INSTALL_PREFIX}/bin/ otherwise Also on Windows kglobalaccel5 needs to be installed in bindir
review request https://phabricator.kde.org/D9424
Git commit 205b69533bb54ee196cf50b3af1e4224d46ca94b by Ralf Habacker. Committed on 12/01/2018 at 09:06. Pushed by habacker into branch 'master'. Use cmake function 'kdbusaddons_generate_dbus_service_file' from kdbusaddons to generate dbus service file Summary: FIXED-IN:5.43.0 Test Plan: compiled against installed build from kdbusaddons git repo master branch Reviewers: dfaure, bcooksley, apol Reviewed By: dfaure Subscribers: kfunk, vonreth, #windows, apol, #frameworks Tags: #frameworks Differential Revision: https://phabricator.kde.org/D9424 M +1 -4 src/runtime/CMakeLists.txt D +0 -3 src/runtime/org.kde.kglobalaccel.service.in https://commits.kde.org/kglobalaccel/205b69533bb54ee196cf50b3af1e4224d46ca94b