[Qt-qml] Creator and components
Nigel.Hietala at nokia.com
Nigel.Hietala at nokia.com
Mon May 10 13:43:00 CEST 2010
You cannot have imported files that are lowercase, so untitled.qml is invalid while Untitled.qml is fine. If this does not work send me your whole project to have a look at.
- Nigel
How can I tell Creator where to find components? I have the following in
QML file untitled.qml:
import Qt 4.7
import org.my 0.0
Item {
Bar { text: "myBar" }
}
and directory ./org/my contains files Bar.qml and qmldir. If I add "-I
." to QML runtime arguments in the Run Settings, the QML viewer finds
the component. But if I try to edit untitled.qml in the designer, it
complains "module org.my is not installed".
This is with Creator 1.3.83.
--
Pertti
_______________________________________________
Qt-qml mailing list
Qt-qml at trolltech.com<mailto:Qt-qml at trolltech.com>
http://lists.trolltech.com/mailman/listinfo/qt-qml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100510/5a715545/attachment.html
More information about the Qt-qml
mailing list