How to integrate QWidget in QML (Qt Quick 2.0)

前端 未结 1 1863
旧巷少年郎
旧巷少年郎 2020-12-31 20:26

I have closed library that return QFrame. GUI of my program is developed with QML (Qt Quick 2.0). I need solution to integrate QFrame (QWidget) to QML

Note: I found

1条回答
  •  一整个雨季
    2020-12-31 21:15

    QGraphicsProxyWidget is intended to use with QtQuick 1. Already there is answer Qt5. Embed QWidget object in QML

    Another thought - you can embed your QWidget inside QQuickItem. Or look into QtQUickControls how they are painted with QtQuick2

    0 讨论(0)
提交回复
热议问题