Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
Description
The documentation of the QML example "QML Text Editor"[1] does not correspond to the source code provided by http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.tar.gz. Code looks different and is inside other files.
For example in Section "Creating a Menu Page" the first code sample displays different imports and the second code sample says "In FileMenu.qml" but the code is actually found in "EditMenu.qml"
Another example in Section "Using Data Models and Views" the code of the first code sample is actually found in MenuBar.qml and not in EditMenu.qml.
This problem also occurs in the dev version of the documentation. I haven't checked later packages.
[1]https://qt-project.org/doc/qt-5.0/qtdoc/gettingstartedqml.html