ms paint in qml
-
Hi friends,
I want to embed ms paint in qml application how to embed any suggestions.
or embed Qwidget in qml any code -
I want to embed ms paint in qml application how to embed any suggestions.
You mean to embed an actual MS Paint application? Or just to do "something like MS Paint" in QML?
If the former - I have no idea.
If the latter - take a look at QML Canvas or (better) use QQuickPaintedItem. You can also get good results with base QQuickItem but it will be much harder to do.
or embed Qwidget in qml any code
This is not supported, as far as I know. You can get something to work, though, see: https://forum.qt.io/topic/63057/using-a-qt-5-widget-within-a-qml-application/5
-
-
It's probably impossible, then.
-
You could launch ms paint to edit a file from within your application (or any paint program). Then when it closes you can load the edited file into your app. This makes a lot of assumptions about what the user does with the paint application though. You would need a way to monitor the paint app (QProcess).