Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-80440

MqttClient Invalid Property assignment: unsupported type "ushort"

    XMLWordPrintable

Details

    • Windows
    • 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:

      1. 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. 

       

       

       

      Attachments

        Activity

          People

            mkalinow Maurice Kalinowski
            shazter Dirk Büttner
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: