Thanks for your advices. However, I have a project to do, the faster the better, and moreover, I have a whole bunch of plugins READY, but NOT_QML. So I have to “qmlize” them all the way to make available the objects, provided by plugins, to game designers, who will actually work in QML, to bring a game rules into action.
I do not use QtQuick because I make not-a-casual game. It is better to see I guess: Video [youtube.com]. As the game is going to be CPU intensive (later on), I need to apply threading. This is why I want each plugin to run its objects in separate thread. And I have it now, with my non-qml plugins, but those qml plugin interfaces are found to be far more attractive for game design.
I registered my QObject from App (not from plugin) and it works just fine. That will do.
For now only question #2 is yet unresolved, I am going to prepare plugin exporting and then I go directly into question2 issues for my own investigation. All in all I hope for an elegant solution and do want to discuss different approaches here.
↧