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

NIkolai Marchenko enmarantispam at gmail.com
Fri May 3 21:12:33 CEST 2024


I asked in qbs support channel and they told me that this should only work
in qt6 onwards. but not 5.15

On Fri, May 3, 2024 at 10:03 PM Thiago Macieira <thiago.macieira at intel.com>
wrote:

> On Friday 3 May 2024 10:32:45 GMT-7 NIkolai Marchenko wrote:
> > I don't think I can directly reference it in qbs unless I am missing
> > something. trying to
> >     Depends { name: "Qt"; submodules: ["quicklayouts"] }
> > just doesn't work, same for "layouts", as such, I also can't import its
> > private parts
>
> With qmake:
>  QT += quicklayouts-private
>
> With CMake, use target Qt6::QuickLayoutsPrivate
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Principal Engineer - Intel DCAI Cloud Engineering
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240503/3e5ffeed/attachment.htm>


More information about the Interest mailing list