[Interest] QML Components And QRC Prefixes/Subdirectories
mark diener
rpzrpzrpz at gmail.com
Wed May 13 15:14:20 CEST 2015
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 groupings: directories on the filesystem.
The generic form of a directory import is as follows:
import "<DirectoryPath>" [as <Qualifier>]
So is the following ok? ->
import "qrc:/prefix/readdir/qmlname.qml" as CustomButtonComponent
Thanks,
md
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150513/6bfa462f/attachment.html>
More information about the Interest
mailing list