mardi 4 mars 2014

Include another QML file from a QML file


Vote count:

0




There's another question on Stackoverflow about this matter but I don't find the accepted solution possible. So I ask again because the old question is out of attention.


The situation is this way. I have application screens defined by 'main.qml', 'feature1.qml', 'feature2.qml'.


These screens share the same toolbar below title bar. The toolbar has multiple items so copy-paste the QML code is like crazy. This question: QML file include - or one monolithic file (structure QML code)? says it's possible to just use QML file name as component name but I can't get it working.


Any solution? with details pls.



asked 35 secs ago






Aucun commentaire:

Enregistrer un commentaire