Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
For example, I created a Rectangle QML file and want to use it in main QML. No errors are thrown or even app didn't crashed but the embedded QML is not rendered. My platform is custom Linux with EGLFS plugin on Qt Embedded 5.4
@Saisyam Hi! Please show us your main.cpp and main.qml.
hi, you can use Loader
Rectangle { id : r1; anchors.fill: parent; Loader { id : l1; anchors.fill : parent; source : "page2.qml"; } }
this works for me on windows android linux
Thanks for the reply. Apologies for responding so late. I will try and get back to you.
It is working fine. Thanks for the help