Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Access C++ object via square brackets in QML
Christopher last edited by
is there a way to access a C++ object via an overloaded square brackets operator in QML?
What kind of object do you have in mind ? Can you share a sample pseudo code that would show exactly what you would like to achieve.
iter last edited by
There is no operator overloading in QML. At any rate, operators are just decoration for what is essentially regular functions.