[Interest] what are the requirements for QMetaType::metaObjectForType(QMetaType::type("QQuickLayout*")) to work?
Ulf Hermann
ulf.hermann at qt.io
Tue May 7 09:24:54 CEST 2024
> I am not seeing it in 5.15.2, was it added later?
Oh, sorry, I was mistaken.
https://codereview.qt-project.org/c/qt/qtdeclarative/+/304078 did indeed
not make it into Qt5. Otherwise you could actually use the syntax with
versions also in qmldir.
So in Qt5 the versions have to match. Maybe you need to introduce a
version 1.15 of your module for this specific purpose.
best regards,
Ulf
More information about the Interest
mailing list