Embedding one QML into another QML not working in Embedded Qt
Solved
Mobile and Embedded
-
wrote on 9 May 2016, 06:47 last edited by
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
-
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
wrote on 12 May 2016, 13:14 last edited by@Saisyam Hi! Please show us your main.cpp and main.qml.
-
wrote on 12 May 2016, 18:34 last edited by
hi,
you can use LoaderRectangle { id : r1; anchors.fill: parent; Loader { id : l1; anchors.fill : parent; source : "page2.qml"; } }
this works for me on windows android linux
-
wrote on 27 May 2016, 05:12 last edited by
Thanks for the reply. Apologies for responding so late. I will try and get back to you.
-
wrote on 6 Jun 2016, 07:25 last edited by
It is working fine. Thanks for the help