Review Request 124266: Introduce an env variable to overwrite the platform name

Martin Gräßlin mgraesslin at kde.org
Mon Jul 6 02:58:37 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124266/
-----------------------------------------------------------

Review request for KDE Frameworks.


Repository: kglobalaccel


Description
-------

With the env variable KGLOBALACCELD_PLATFORM the platform name can
be specified, which is being used for searching for the plugin to
load. This is required because some plugins are more specific than
the supported platforms. If the environment variable is not
specified, the QGuiApplication::platformName() is used as before.

CCBUG: 349911


Diffs
-----

  src/runtime/globalshortcutsregistry.cpp 1340e0e39c1f412b6138fa80cdb93bf81c8dd593 

Diff: https://git.reviewboard.kde.org/r/124266/diff/


Testing
-------

KWin adjusted to use this environment variable:
Loaded plugin "/opt/kf5/lib/x86_64-linux-gnu/plugins/org.kde.kglobalaccel5.platforms/KF5GlobalAccelPrivateKWin.so" for platform "org.kde.kwin"


Thanks,

Martin Gräßlin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150706/7a5181ba/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list