Setting up a QML plugin with externally accessible C++ logic
-
Hi Guys, this is my first question in this forum, so pls be patient with me and tell me what i should not do here instead of blaming me for it :)
My situation is the following: I want to set up an application that is based on extension plugins that could have both QML and C++ in it. A good example is a namelist, that receives the to be displayed names from the main application via a simple method call
UpdateNameList(QList<String> namelist)
Unfortunately I find no single source that allows me both. I found QML Extensions C++ that allows to extend QML and I found QT Plugins that allow to extend only logic, but what I need to do is both. Is there a way to archeive this? My initial thought was, that maybe I can insert for example the NameList via a signal and slot mechanism into the above mentioned QML Extension but here I guess I went into a dead end since I found no way to access the underlying C++ logic from a consuming application.