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

QtQuick StatusIndicator disappears in a QQuickWidget which is in a TabWidget after changing Tab and back

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.4.0, 5.5.1
    • None
    • Windows 7 and OS X El Capitan with QtCreator

    Description

      Hi, I wrote this problem already into the QtForum and there it was suggested to report the found problem as a bug.

      I created a normal widget project in QtCreator. In the main form I added a TabWidget and in the first tab I added a QQuickWidget.

      Into this QQuickWidget I loaded a QML file displaying a green rectangle and a StatusIndicator (import QtQuick.Extras 1.4).

      If I now start the application I can see the rectangle and the StatusIndicator in the QQuickWidget. If I now change the tab to the second and back the green rectangle is still visible, but the StatusIndicator is gone!

      I tested this with Qt5.4.0 on Win7 and Qt5.5.1 on Mac.

      Please help me to solve this problem.

      Thank you very much

      Link to Qt forum:
      (https://forum.qt.io/topic/60201/referenceerror-is-not-defined-functions-tries-to-access-a-child-in-a-style-and-statusindicator-disappears-after-changing-widgettab)

      Attachments

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

        Activity

          People

            tvete Paul Olav Tvete
            RolBri Roland Britz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes