[Qt-qml] Creator and components

Pertti Kellomäki pertti.kellomaki at nokia.com
Mon May 10 12:56:21 CEST 2010


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




More information about the Qt-qml mailing list