Display QtWidget inside QML object
Solved
QML and Qt Quick
-
Hi,
I have some widgets made in C++ that work fine. I would like to make a QML object that contains them.
Is there a way to create one of those widget, to whatever I want with it in C++, pass it to a QML view and tell QML to display it as a normal C++ widget ?
Some widgets could be described as quite complex (repainting, event filters, ...) and in a perfect world the solution would keep those functionalities.
I haven't found any mention of this kind of stuff yet.MoaMoaK
-
@MoaMoaK
short answer: no -
Probably of little help but the opposite is possible. You can show QML inside a QWidget with QQuickWidget