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 <notm...@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@kde.org > https://mail.kde.org/mailman/listinfo/plasma-devel >
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel