Help: Creating a plasma 5 widget/plasmoid using QML and C++
Aditya Mehra
adix.me at gmail.com
Sun Jul 3 05:31:22 UTC 2016
Iv looked into this and was using the same minimal template, The issue
still is I cant find a way to initialize the DBus adaptor without having a
main, I did follow the KDE4 DBus tutorials initially on getting the DBus to
work as KDE 5 has no DBus documentation yet for plasmoids.
Seems like a no go for plasmoid so launched it as a Qt5 Application
instead. https://github.com/AIIX/Mycroft-Ai-QtApplication
Thanks for replying tho i was running around in circles with getting the
main function to work.
On Sun, Jul 3, 2016 at 4:41 AM, Marco Martin <notmart at gmail.com> wrote:
> 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
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160703/e22c0292/attachment.html>
More information about the Plasma-devel
mailing list