[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    PLASMA_PLATFORM and kdeglobals runtimePlatform
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2012-10-30 20:55:18
Message-ID: 4979385.GOnnC6dncl () freedom
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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
["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic