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
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 sta
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 "com.wisetroll.no