Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.15.11, 5.13.0 RC 3, 6.2.6, 6.3.1, 6.4.0
-
-
2b6015f6bf (qt/tqtc-qtmqtt/6.4) d26a01b1a6 (qt/tqtc-qtmqtt/dev) 2b6015f6bf (qt/tqtc-qtmqtt/6.4.1)
Description
First time report issue, be gentle and correct me, if i report wrong.
The example https://github.com/qt/qtmqtt/blob/5.13.0/examples/mqtt/quicksubscription/main.qml raises 2 erros in qml debugger errors:
- qrc:/main.qml: 14 Invalid property assignment: unsupported type "ushort"
I think is same as described for other module here: https://bugreports.qt.io/browse/QTBUG-46790
Make Q_PROPERTY(quint16 port READ port WRITE setPort NOTIFY portChanged) to int with range check in getter/setter.
2. qrc:/main.qml:125 TypeError_ Propety 'destory' of object 0 is not a function
This I don't understand, maybe more experienced person know how to fix.