[SOLVED]createqmlobject vs loader
QML and Qt Quick
3
Posts
2
Posters
944
Views
1
Watching
-
Hmm, Loader make the whole job for you.
- check if the item load is finish and create and display the object
- you can set properties and signals directly on the loader, it handle everything for you
createqmlobject make it possible to create the things within Javascript but you need to manage everything by your script or in your loaded component.
I think there is no really advantages maybe if you use Loader then you have one nesting level more because the loaded component is a child of Loader.
-
Please mark thread as solved if it's done thx