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

[REG 5.10.1 -> 5.11] Variables in QML not accessible when debugging

    XMLWordPrintable

Details

    • 61447075954aab99b3abc9c78294e5966ae3b6ce

    Description

      1. Open the Qt Quick Controls 2 Gallery example in Qt Creator.
        It's in Examples\Qt-<version>\quickcontrols2\gallery\gallery.pro
      2. Open ComboBoxPage.qml
        QTCREATORBUG-20004 might get in your way.
      3. Place a breakpoint in the onAccepted-handler:
                    onAccepted: {
                        if (find(editText) === -1)
                            model.append({text: editText})
                    }
        
      4. Let the project run into the breakpoint.
      5. See Creator's "Locals and Expressions" view.
        There are two lines which seem quite useless:

      Instead, "this" should be expandable and then display all the values. When using Qt 5.10.1, this works correctly.

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes