You may wish to note that plasma-devel is a more on-point mailing list for plasma widget questions. Also, you can model xml using qml exclusively [0]. Should you opt not to, what you need to do is write one plugin, not two. If you want to go the custom plugin route have a look at [1] for example. Cleaning up your cmake files likely would help you find why you are having linker errors.
Also, from a quick glance, it appears that you want to launch URLs for which there is also a builtin [2], you really need no launcher class. [0] http://doc.qt.io/qt-5/qml-qtquick-xmllistmodel-xmllistmodel.html [1] https://cgit.kde.org/plasma-packagekit.git/tree/ [2] http://doc.qt.io/qt-5/qml-qtqml-qt.html#openUrlExternally-method On Sun, May 14, 2017 at 7:49 PM, Maxime. Haselbauer <maxime.haselba...@googlemail.com> wrote: > I want to make a plasmoid that essentially read an xml of bookmark, > displaythem in form of button and execute them once you clikc a button > > In Pure c++ it would take me 1 or 2 class maybe > > > Now with QML I have to > > > 1)Make 1 QMLPlugin in c++ > > 2)Make 1 qml code > > 3)Make a second QMLPlugin in C++ > > 4)Pass argument from 1) to 2) then back from 2) to 3) > > 5)Pass information from 2 to 1 to update the Abstract model .... > > > > Currently I am stucked at step 3 > > https://github.com/renn0xtek9/BookMarkWidgets/tree/UsesListOfButton > > If anybody understand why the linker does not find the reference to the > Launcher class.... > > > > > Is there a way to make 100.0% pure c++ plasmoid and totally get the rid out > of that Qatastrofic "Modelling" (xD) "Language" (xD^2) ? > >