Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.8.3, 6.8, 6.9.0 Beta3, 6.9, 6.10.0 FF
-
6.3.0
-
None
-
941d5bf5b (dev), e07d2d25b (dev), 130c53ea5 (dev), 15bad109d (dev), a72bb5806 (dev), 33fd94011 (dev), 1f9d0b626 (dev), 7630d832e (dev), 150dd4796 (6.9), 11bf752e4 (6.9), 720280d14 (6.9), d95af4575 (6.9), 53e875737 (6.9), e291ed3b3 (6.9), 3eb0f5fc5 (6.9)
Description
The "First Steps with QML" (https://doc.qt.io/qt-6/qmlfirststeps.html) page seems to be a bit outdated and needs some update. For example:
"For simple UI files such as this one, select File > New File or Project > Application (Qt Quick) > Qt Quick Application - Empty from within Qt Creator."
"New File or Project" has been split up into "New File" and "New Project". In "New Project" there is no "Qt Quick Application - Empty" only "Qt Quick Application".
These are minor problems, but it seems that some of the listed examples are not working out of the box. When I am trying to run the first example from Qt Creator seemingly nothing happens, but the same example is working from the command line.
import QtQuick Rectangle { width: 200 height: 100 color: "red" Text { anchors.centerIn: parent text: "Hello, World!" } }
Most likely the problem is that a top level window is missing, see the second example, which has an ApplicationWindow and it works as expected. However, the top level window is also missing from the subsequent examples.
Attachments
For Gerrit Dashboard: QTBUG-107030 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
625388,6 | Doc: update qml first steps page | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
625457,6 | Doc: make qml snippet runnable in Qt Creator | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
625458,6 | Doc: use Qt6 way of creating menu items | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
625459,7 | Doc: Update signal handler example | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
625460,7 | Doc: update handling user input example | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
625461,7 | Doc: property binding example | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
625462,7 | Doc: update animation example | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
625463,9 | Doc: update reusing qml example | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
626045,2 | Doc: update qml first steps page | 6.9 | qt/qtdoc | Status: MERGED | +2 | 0 |
626046,2 | Doc: make qml snippet runnable in Qt Creator | 6.9 | qt/qtdoc | Status: MERGED | +2 | 0 |
626107,2 | Doc: use Qt6 way of creating menu items | 6.9 | qt/qtdoc | Status: MERGED | +2 | 0 |
626108,2 | Doc: Update signal handler example | 6.9 | qt/qtdoc | Status: MERGED | +2 | 0 |
626109,2 | Doc: update handling user input example | 6.9 | qt/qtdoc | Status: MERGED | +2 | 0 |
626110,2 | Doc: property binding example | 6.9 | qt/qtdoc | Status: MERGED | +2 | 0 |
626150,2 | Doc: update animation example | 6.9 | qt/qtdoc | Status: MERGED | +2 | 0 |
626228,2 | Doc: update reusing qml example | 6.9 | qt/qtdoc | Status: MERGED | +2 | 0 |
626287,3 | Doc: update qml first steps page | 6.8 | qt/qtdoc | Status: MERGED | +2 | 0 |
626288,3 | Doc: make qml snippet runnable in Qt Creator | 6.8 | qt/qtdoc | Status: MERGED | +2 | 0 |
626289,3 | Doc: use Qt6 way of creating menu items | 6.8 | qt/qtdoc | Status: MERGED | +2 | 0 |
626290,3 | Doc: Update signal handler example | 6.8 | qt/qtdoc | Status: MERGED | +2 | 0 |
626291,3 | Doc: update handling user input example | 6.8 | qt/qtdoc | Status: MERGED | +2 | 0 |
626292,3 | Doc: property binding example | 6.8 | qt/qtdoc | Status: MERGED | +2 | 0 |
626362,2 | Doc: update animation example | 6.8 | qt/qtdoc | Status: MERGED | +2 | 0 |
626363,2 | Doc: update reusing qml example | 6.8 | qt/qtdoc | Status: MERGED | +2 | 0 |