Help: Creating a plasma 5 widget/plasmoid using QML and C++

Marco Martin notmart at gmail.com
Sat Jul 2 19:11:01 UTC 2016


On Friday 01 July 2016, Aditya Mehra wrote:
> Request you to please guide me on why the main function doesn't work
> in plasma5 and how can i fix it.
> There is no documentation available on C++/QML plasmoid/widgets for
> plasma 5 so asking for help here.
> 
> Thanks,
> Aditya

look at
https://quickgit.kde.org/?p=plasma-framework.git&a=tree&h=747500851adcb1e5ccbb1a902865c6aee9327d83&hb=990662800da9e7e39066bae41f34efcd8316b50f&f=templates%2Fcpp-plasmoid%2Fsrc
for a minimal template (kdevelop should also have a new qml/c++ plasmoid 
template that uses this).
and yes, as Kevin says, it has no main, is something that gets loaded by 
plasmashell

-- 
Marco Martin


More information about the Plasma-devel mailing list