[Interest] what are the requirements for QMetaType::metaObjectForType(QMetaType::type("QQuickLayout*")) to work?
Ulf Hermann
ulf.hermann at qt.io
Tue May 7 08:54:27 CEST 2024
> 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
More information about the Interest
mailing list