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

qml ReferenceError: sInfo is not defined when debugging

XMLWordPrintable

    • Windows
    • 4fea3ec29c9911522a379a01418394b5cad29ecc

      cpp:

      signals: 

      void sendMessage(const QString &sInfo);

       
      qml:

      Connections {

      target: curveManage

      onSendMessage:

      {   console.log(sInfo);    }

      }

      error: qrc:/main.qml:36: ReferenceError: sInfo is not defined
       

        1. 111111.png
          136 kB
          延龙 李
        2. test1.rar
          4 kB
          延龙 李
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            liyanlong 延龙 李
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes