Loading qml into an area of main.qml
I have an application where main.qml has a subtitles bar and then an 'application' area which needs to show a qml 'screen' and the screen needs to keep the subtitle bar up to date.
The 'application' area needs to show the qml from a dll - each actual application (email, bookreader etc) is in a dll which is all fine on the c++ side (have it working perfectly with widgets) but I just cannot fathom how to load the qml from the dll into the 'application' area. Is there a way without digging too deep into the qml (want to keep it ui only) or am I going to have to have every application have its own subtitle bar?
One solution can be with dynamic QML objects:
The other solution can be realized to get the title from a memberfunction of the MVC model.
All public slots are accessible from QML.
A good manual can be found here:
Quick look seems like you have given me an answer, I will get on with the coding. BIG thanks