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

[REG] Translation bindings causing an assertion at type compile time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.3.0 RC1
    • Fix Version/s: 5.3.0
    • Labels:
      None
    • Commits:
      68a662a2e15b790080ea12c2434f6e1fe60bda1b (qtdeclarative)

      Description

      914b72418b7e766026f2679254fcee93fc920866 causes an assertion at https://qt.gitorious.org/qt/qtdeclarative/source/aedcd57c84ac9d6b74816c13bdf3fde31e1132b5:src/quick/util/qquickpropertychanges.cpp#L294 for a translation bindings in PropertyChanges, i.e.:

      import QtQuick 2.0
      
      Item {
          width: 400
          height: 400
      
          Text {
              id: txt
              anchors.centerIn: parent
          }
      
          states: [
              State { name: "boo"; PropertyChanges { target: txt; text: qsTr("Hello") } }
          ]
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            shausman Simon Hausmann
            Reporter:
            ritt.ks Konstantin Ritt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes