[Interest] what are the requirements for QMetaType::metaObjectForType(QMetaType::type("QQuickLayout*")) to work?
NIkolai Marchenko
enmarantispam at gmail.com
Tue May 7 08:44:23 CEST 2024
Not possible as in this case it assumes the same version as the module that
qmldirs belongs to
On Tue, May 7, 2024 at 9:40 AM Ulf Hermann <ulf.hermann at qt.io> wrote:
> > I don't think it works, adding `import QtQuick.Layouts 1.15` to qmldir
> > of that module produces an error "import requires 2 arguments, but 2
> > were provided"
>
> In Qt5 you couldn't specify the version, yet. Try with only:
>
> import QtQuick.Layouts
>
> best regards,
> Ulf
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240507/2ce60fa9/attachment.htm>
More information about the Interest
mailing list