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

Assigning false to a bool property sets it to true

    XMLWordPrintable

Details

    • 3f7f6be40947f19ef4e40a8f10307a1a6dcb31e0

    Description

      Assigning a bool property to false sets it to true on ARM (qnx). It works fine on the desktop.

      qtdeclarative: 14e0e0c000234f67613ea65e3fea1e9c3445844a

      Item {
      id: root
      property bool test: false

      MouseArea

      { onClicked: root.test = false; console.log(root.test) }

      }

      outputs: "true"

      See also the attached testcase which outputs:
      1 false
      2 true
      3 true
      4 true
      5 false

      instead of the expected:

      1 false
      2 false
      3 true
      4 false
      5 true

      Attachments

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

        Activity

          People

            aalpert Alan Alpert
            janarnepetersen Jan Arne Petersen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes