[Interest] what are the requirements for QMetaType::metaObjectForType(QMetaType::type("QQuickLayout*")) to work?

NIkolai Marchenko enmarantispam at gmail.com
Tue May 7 09:26:41 CEST 2024


That sounds more unhinged than loading a dummy if metaobject is empty with
createObject in c++ :)

On Tue, May 7, 2024 at 10:25 AM Ulf Hermann <ulf.hermann at qt.io> wrote:

> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240507/0545f292/attachment.htm>


More information about the Interest mailing list