Hi,

is there a way to derive from a class with REVISIONed properties while making 
those properties available from the derived type in QML?

Example:
cpp
class MyItem : public QDeclarativeItem { ... }
qmlRegisterType<MyItem>("MyModule", 1, 0, "MyItem");

qml
import MyModule 1.0
MyItem { implicitWidth: 12 } // error!

I've already tried using
qmlRegisterType<MyItem, 1>(...)
or increasing MyModule's version to 1.1, but the error remains the same.

Any suggestions?

Christian
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to