[Interest] QML/C++ interaction in Qt6

Magnus Groß magnus.gross at rwth-aachen.de
Fri Sep 11 11:57:45 CEST 2020


Hi,

since Qt6 is going to include the strict QML subset, where everything can be 
compiled down to native C++, I was wondering if there are efforts going with 
that to improve interactions between the two languages along with it.

Two things I am thinking of specifically:

- 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`

Surely the fact that strict QML can be transpiled to C++ is going to help with 
implementing this. I think this would improve interactions between the two 
languages immensely.

Are there any plans to allow something like this?

Best regards,
Magnus


More information about the Interest mailing list