Will Qt 6 still use the Meta information to access Qml properties or it rely more on compiled C++ now? I guess it still the same as before. Is the properties declaration of Qt for MCU (Qml lite or soemthign like that) be available (syntax wise, template)? That would leverage soo much redundent code to expose properties with get/set and changed event. That will be a slim fast for code that expose to Qml (to Meta data actually, Qml use the meta data) and maybe event make that layer disapear one day.
-----Original Message----- From: Interest <interest-boun...@qt-project.org> On Behalf Of Ulf Hermann Sent: September 11, 2020 6:20 AM To: interest@qt-project.org Subject: Re: [Interest] QML/C++ interaction in Qt6 > - Allow QML to access public properties of classes, even if these > public properties do not use `Q_PROPERTY` > - Allow QML access to classes that are neither `QObject`, nor > `QGadget` This is not planned right now. Note that we rely on moc to generate the class descriptions that QML uses. Therefore, we need constructs like Q_OBJECT, Q_GADGET and Q_PROPERTY to make things visible. best regards, Ulf _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest