Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-379

Property (alias) signal handler causes a runtime error

    XMLWordPrintable

Details

    • 95de5525
    • Auto&Medical S13

    Description

      Adding a property signal handler to an aliased property causes runtime error:

       

      import QtQuick
      
      Rectangle {
          id: root
          Text {id: rotatingText; color: "blue"}
          property alias superbColor: rotatingText.color
          onSuperbColorChanged: {
              console.log("test")
          }
      }
       

      The app outputs:

      Qt for MCUs error: Core:PropertyBinding_PropertyNotSet:162, line: 410, params: 0, 0, 0.
      See https://doc.qt.io/QtForMCUs/qul-errorcode-h.html#QulError-enum for more information. 

       

      Attachments

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

        Activity

          People

            k0rahman Karim Abdelrahman
            miikapernu Miika Pernu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes