Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
5.0.0
Description
For example, using the OrganizerModel from QML gives the following error:
QMetaProperty::read: Unable to handle unregistered datatype 'QQmlListProperty<QDeclarativeOrganizerItem>' for property 'QtOrganizer::QDeclarativeOrganizerModel::items'
This seems to be due to missing namespace qualifier in properties for types in the QtOrganizer namespace.
For example, the code in git:
Q_PROPERTY(QQmlListProperty<QDeclarativeOrganizerItem> items READ items NOTIFY modelChanged)
doesn't work but after modifying it to:
Q_PROPERTY(QQmlListProperty<QtOrganizer::QDeclarativeOrganizerItem> items READ items NOTIFY modelChanged)
the application works fine.
QtCreator also shows a lot of errors until the fix is applied.
Attachments
Issue Links
- is replaced by
-
QTBUG-29830 Unable to handle unregistered datatype on contact's details
-
- Closed
-