Not possible as in this case it assumes the same version as the module that qmldirs belongs to

Looks like qmlRegisterModuleImport() is also available (and undocumented) in Qt 5.15 and it does allow you to specify versions: https://doc.qt.io/qt-6/qqmlengine.html#qmlRegisterModuleImport

best regards,
ULf
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to