[Interest] QML QList<long long> possible?
mailinglist inputoutput
qtinerest.rpm at gmail.com
Sat Jun 14 01:42:43 CEST 2014
>> Q_PROPERTY(QList<unsigned long long> READ myValue NOTIFY
myValueChanged)
> Yes. What's the problem when you do exactly that?
Thanks for taking the time Thiago!
I register in plugin.cpp (where I also do qmlRegisterType 's):
qRegisterMetaType<unsigned long long>("myId");
Then inside qml reading myValue via console.log() results in:
QMetaProperty::read: Unable to handle unregistered datatype 'QList<unsigned
long long>' for property
qRegisterMetaType<QList<unsigned long long> >("myId"); // wont work either
- same result
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140614/158cb58c/attachment.html>
More information about the Interest
mailing list