Re: [Interest] QML Components And QRC Prefixes/Subdirectories

2015-05-13 Thread mark diener
Almost at the threshold: http://www.kdab.com/wp-content/uploads/stories/slides/DD13/qml-tricks-and-treats-vladimir-moolle-ics-dd-2013-berlin.pdf Thank you Michael Sue for the brain trigger from your original response! I am working verifying the qrc syntax inside QML right now. md On Wed, May 1

Re: [Interest] QML Components And QRC Prefixes/Subdirectories

2015-05-13 Thread mark diener
There was some banter related to this in a prior forum post, but nothing definite: https://forum.qt.io/topic/7721/qml-and-javascript-files-in-resource-qrc-how-to-import-js-in-qml/2 md On Wed, May 13, 2015 at 6:14 AM, mark diener wrote: > Michael & List: > > That tip is along the right directio

Re: [Interest] QML Components And QRC Prefixes/Subdirectories

2015-05-13 Thread mark diener
Michael & List: That tip is along the right direction, but there is no treatment of QRC:/PREFIX in the Import Directory Imports A directory which contains QML documents may also be imported directly in a QML document. This provides a simple way for QML types to be segmented into reusable grouping

Re: [Interest] QML Components And QRC Prefixes/Subdirectories

2015-05-13 Thread Michael Sué
This is probably what you seek: http://doc.qt.io/qt-5/qtqml-syntax-imports.html There under „Directory import“. - Michael. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] QML Components And QRC Prefixes/Subdirectories

2015-05-13 Thread mark diener
Hello: I am using prefixes in my QRC resource chain to keep some sense of order in my many QML files. For example, to load a given QML file using the loader: gloader.source = "qrc:/prefix/realdir/qmlname.qml" So I need to put the prefix name first, then any actual subdirectory and then the qml