KGlobalAccel on ~Linux?

René J. V. Bertin rjvbertin at gmail.com
Fri Nov 20 09:26:54 UTC 2015


David Faure wrote:

> On Friday 13 November 2015 22:04:35 René J. V. Bertin wrote:
>> I can imagine that the session dbus doesn't look in /opt/local by default on
>> Linux (guess I'll have to look into that)
> 
> Right. Add /opt/local/share to XDG_DATA_DIRS before starting the DBus daemon,
> otherwise the dbus service cannot be autostarted.
> 


Well, that didn't help. I waited to react until I had upgraded to Qt 5.5.1 and 
all 5.16.0 because I saw some mention of better support for Qt 5.5 .

Fact is, even with /opt/local/share appended to XDG_DATA_DIRS (now 
/usr/share:/usr/share/kde-plasma:/usr/local/share/:/usr/share/:/opt/local/share) 
kglobalacces5 crashes calling `KDBusService service(KDBusService::Unique);` from 
main(). The actual crash is in QInternal::activateCallbacks(), so I'm not sure 
what to report and where ...

FWIW, with this setting for XDG_DATA_DIRS I now get what I think is appropriate 
output from kbuildsycoca5, including a message "Menu "applications-
kmenuedit.menu" not found".

On OS X where the dbus daemon is configured to look in /opt/local/share and where 
QSP adds that to the relevant standard locations the crash doesn't happen but I 
keep getting same error message 

"No such object path '/org/kde/kglobalaccel'"

R.



More information about the Kde-frameworks-devel mailing list