Is qmltocpp able to handle inheritance hierarchies?
Unsolved
Qt for MCUs
-
wrote on 27 Jan 2025, 09:09 last edited by
Hi,
I can use a custom C++ type in Qml if it derives directly from Qul::Object. What I can’t do right now is to have one intermediate class in between. Let’s say I have class A that derives from Qul::Object. A defines virtual functions. Class B derives from A. Now I get an error from qmltocpp that it does not know about A. A is the top level item in the generated qml file.Thx
Andi
1/1