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.nodeqml" is not installed Right now I worked the problem around by registering a fake object: qmlRegisterType<QObject>(uri, 1, 0, "__nodeQmlUselessObject"); I couldn't find any other way to make my plugin work. Am I missing a proper way of loading plugins with no types? If there's no other way, my suggestion would be to add a new directive to qmldir, that would tell QML engine to keep register plugin regardless if it provides types or not. Best, Oleg
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest