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

TreeView Documentation Code Example Displays Nothing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6
    • Documentation
    • None

    Description

      The first code example on doc.qt.io displays nothing meaningful (an empty application window) when copied into Qt Creator and run. For somebody that is trying to understand how to build a tree view this is very frustrating.

      In general, this example code is very complex considering that it should be designed to demonstrate how to use the QML type TreeView. It does not explain well how to use the TreeModel or the TreeViewDelegate.

      URL: https://doc.qt.io/qt-6/qml-qtquick-treeview.html

      Qt version used in Qt Creator: Qt 6.6.2

      Qt Creator version: 12.0.2

      Attachments

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

        Activity

          People

            docteam Qt Documentation Team
            peter.schneider Peter Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes