[Interest] [Qt6] Gadgets in QML
Konstantin Shegunov
kshegunov at gmail.com
Thu Jan 6 11:51:02 CET 2022
On Thu, Jan 6, 2022 at 12:46 PM Ulf Hermann <ulf.hermann at qt.io> wrote:
> Well, yes, you need to declare the "person" property in C++ for now
> because you cannot have named value types. Once we get named value types
> (and some grammar fixes) you can do the following:
Person is a `QObject`, the `Age` is a gadget I've exposed from C++.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20220106/04ad50d0/attachment.htm>
More information about the Interest
mailing list