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
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to