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

Thiago Macieira thiago.macieira at intel.com
Fri May 3 21:02:48 CEST 2024


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240503/9611af31/attachment.bin>


More information about the Interest mailing list