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

NIkolai Marchenko enmarantispam at gmail.com
Fri May 3 19:21:22 CEST 2024


>  Why don't you include <QtQuick/private/qquicklayout_p.h> and get the meta
object directly?

because importing quick-private doesn't bring
qtdeclarative/src/quicklayouts/qquicklayout_p.h into visibility and I don't
know what am I supposed to import to do so

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

> On Friday 3 May 2024 08:51:39 GMT-7 NIkolai Marchenko wrote:
> >     QMetaType::metaObjectForType(QMetaType::type("QQuickLayout*"));
>
> Why don't you include <QtQuick/private/qquicklayout_p.h> and get the meta
> object directly?
>
> --
> 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/fe9d60a1/attachment.htm>


More information about the Interest mailing list