How to load leveled qml file into main qml?
-
Hi, maybe my question is bit awkward. But I need to load leveled qml into main.qml as shown below picture. But its not loading. Any help please?
- Main.qml
- MainPageBG.qml
- mainui Folder
- HeaderWidget.qml
- MapWidget.qml

Folder View:

@NTMS
did i understand you correctly that you want to show theMapWidgetcomponent as overlay on top of all the other elements?
Since you are using ApplicationWindow already you can use the attached propertiesApplicationWindow.contentItemorOverlay.overlayas the parent of the itemAlso note that in your code the
Loaderitem is stacked behindMainPageBGelement -
@raven-worx thanks. my loader item is not stacked behind any other element. And its working.