Qt Qml best way to pass model through loader -


what best way pass model (for example listmodel in main.qml) through loader other .qml file?

there 1 way use loader. pass url of qml file source property.

from http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-loader.html#details

loader {        id: myloader        source: "myitem.qml"     } 

it sounds not quite asking though. if can provide more details on doing may able provide more help.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -