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

MqttClient Invalid Property assignment: unsupported type "ushort"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.13.0 RC 3
    • Fix Version/s: None
    • Component/s: MQTT
    • Labels:
      None
    • Platform/s:
      Windows

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            shazter Dirk Büttner
            Reporter:
            shazter Dirk Büttner
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes