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

qml ReferenceError: sInfo is not defined when debugging

    XMLWordPrintable

Details

    • Windows
    • 4fea3ec29c9911522a379a01418394b5cad29ecc

    Description

      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
       

      Attachments

        1. 111111.png
          111111.png
          136 kB
        2. test1.rar
          4 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes