PLASMA_PLATFORM and kdeglobals runtimePlatform
Aaron J. Seigo
aseigo at kde.org
Tue Oct 30 20:55:18 UTC 2012
hello ...
i have just pushed into the KDE/4.10 branch of kdelibs, master of kde-runtime
and master of plasma-mobile-config a small but important set of changes.
as discussed previously, both the QML components set that is used as well as
the package fallback paths are set using the same mechanism.
this is done in libkdeclarative now since code there, in libplasma and in the
plasma qml components all had duplicated this functionality. it is now wrapped
behind
QStringList KDeclarative::runtimePlatform()
QString KDeclarative::componentsTarget()
QString KDeclarative::defaultComponentsTarget()
you can control this with the PLASMA_PLATFORM environment variable:
PLASMA_PLATFORM=tablet:touch
or in the kdeglobals config file in the [General] group:
runtimePlatform=tablet,touch
the LAST item in the list is the components selector, and the whole list
becomes the search path inside of packages.
testing for regressions is desired, though it is working here nicely (for
whatever that's worth :)
at least now we have *one* place that all of this ties together, both in terms
of configuration and use from the code.
--
Aaron J. Seigo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20121030/eb60ba8a/attachment.sig>
More information about the Plasma-devel
mailing list