Is it possible to make QML application embed in another Qt app or another QML app?
Is it possible to make QML application embed in another Qt app or QML app?
Something like Microsoft COM+ or like a reusable component?
I've read :
but I want to use QML application as a library inside another QT app.
sure, there are serveral ways. What are your exacty requirements? For example you can write a custom Qt plugin/lib and return a whole QML code, which gets loaded by a QML view.
What do you mean by "requirements" is it cause to change the way I have to use?
And how many ways are there exist for that?
as i said there are several ways.
By being more specific with your requirements (how you exactly want it to be used) some may work better others don't.
What do you want to offer?
Do you plan to use it just for yourself? Or a public library?
For example you can create a simple Qt plugin and create a QQmlView with the application already loaded. Thus it can be embedded in an QtWidgets application.
Or do you want your (QML) application be used in another QML app? This way you might want to create a QML plugin.
Thanks for your reply I get your point.