Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
6.3.0
-
None
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.