Re: [Interest] Loading QML plugins without registered types

2014-10-20 Thread Bo Thorsen
Den 19-10-2014 kl. 21:15 skrev Oleg Shparber: I have a plugin which does not provide any QML types and needs only initializeEngine() method to be executed. The problem is that the plugin is not registered with QML Engine when it doesn't have any types. That leads to an error with import

Re: [Interest] Loading QML plugins without registered types

2014-10-20 Thread Oleg Shparber
My plugin [1] provides new functions on the global object. So, it only needs QQmlEngine to export all of its stuff. It does not have any QML types, but it is still meant to be used in QML only apps too. 1. https://github.com/trollixx/node.qml/blob/master/src/imports/nodeqml/nodeqml_plugin.cpp On

[Interest] Loading QML plugins without registered types

2014-10-19 Thread Oleg Shparber
Hi, I have a plugin which does not provide any QML types and needs only initializeEngine() method to be executed. The problem is that the plugin is not registered with QML Engine when it doesn't have any types. That leads to an error with import statement: qrc:/main.qml:4 module