PLASMA_PLATFORM and kdeglobals runtimePlatform

Marco Martin notmart at gmail.com
Tue Oct 30 21:34:11 UTC 2012


On Tuesday 30 October 2012, Aaron J. Seigo wrote:

> 
> 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
> 

this is awesome, was really the last step needed to make it really clean ;)

now, to use it:
for the components, nothing to do, they already work.
export PLASMA_PLATFORM=tablet:touch should be something always tried on 
plasmoids by the way, to be sure they work well with different components sets 
(yes, added it to best practiches).

there will be some stuff to adapt:
* plasma active default settings
* rss feed and microblog qml applets
* double appearance for share-like-connect
just updated the notifications applet to the new schema, will do slc next

Cheers,
Marco Martin


More information about the Plasma-devel mailing list