[Qt-qml] [Qt-interest] Data type that is serializable _and_ QML friendly?

Akos Polster akos.polster at gmail.com
Sat Oct 23 14:38:46 CEST 2010


> Can you define exactly what you mean by "QML friendly"?  That is, what features of the QML language do you want to work on your type?

As a starter, making the type accessible from QML at least (like "Adding Types" in http://doc.qt.nokia.com/4.7/qml-extending.html)

 ~ Akos.


>> (Re-posting from Qt-Interest)
>> 
>> Hi,
>> 
>> we have an API that delivers data to clients using signals. The signal payload is a custom type declared with Q_DECLARE_METATYPE. It does not inherit from QObject - but then how to make this data QML friendly.
>> 
>> Should we re-wrap, or change our design, or...?
>> 
>> ~ Akos.
>> 
>> _______________________________________________
>> Qt-qml mailing list
>> Qt-qml at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-qml
> 
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml

--
Akos Polster
mailto:akos at pipacs.com
http://akos.pipacs.com





More information about the Qt-qml mailing list