aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/tutorials/qmlapp/qmlapplication.rst
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2024-11-08 18:38:00 +0100
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2024-11-11 16:38:50 +0100
commit435e739df302114517f1685a5146e4741454ad9d (patch)
tree2d180b97a719b129cf266813a7074c3c4bd3a8a7 /sources/pyside6/doc/tutorials/qmlapp/qmlapplication.rst
parentd500c4fcebdad5516da1ae7865d76437c752ac92 (diff)
doc: Avoid same name for directory and main qml file
Discovered while testing deployment on macOS, nuitka fails when the directory and file (e.g. Main/Main.qml) have the same name. This might be able to be fixed by other arguments or even upstream in Nuitka, this is a simple change that will encourage people not to use the same name in the meantime Pick-to: 6.8 Fixes: PYSIDE-2919 Task-number: PYSIDE-2910 Change-Id: I596d820e4a30996f9cf934a9f93e6436e51ad0d2 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/doc/tutorials/qmlapp/qmlapplication.rst')
-rw-r--r--sources/pyside6/doc/tutorials/qmlapp/qmlapplication.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/pyside6/doc/tutorials/qmlapp/qmlapplication.rst b/sources/pyside6/doc/tutorials/qmlapp/qmlapplication.rst
index e09dee598..9dd3e4347 100644
--- a/sources/pyside6/doc/tutorials/qmlapp/qmlapplication.rst
+++ b/sources/pyside6/doc/tutorials/qmlapp/qmlapplication.rst
@@ -44,9 +44,9 @@ development process using *Qt Creator*:
This should create a ``main.py`` and ```main.pyproject`` files
for the project.
-#. Download :download:`Main.qml<Main/Main.qml>`, :download:`qmldir<Main/qmldir>`
- and :download:`logo.png <Main/logo.png>` and place them in a subdirectory
- named `Main` in your project folder. This creates a basic QML module.
+#. Download :download:`Main.qml<App/Main.qml>`, :download:`qmldir<App/qmldir>`
+ and :download:`logo.png <App/logo.png>` and place them in a subdirectory
+ named `App` in your project folder. This creates a basic QML module.
#. Double-click on ``main.pyproject`` to open it in edit mode, and append
``view.qml`` and ``logo.png`` to the **files** list. This is how your
@@ -55,7 +55,7 @@ development process using *Qt Creator*:
.. code::
{
- "files": ["main.py", "Main/Main.qml", "Main/logo.png", "Main/qmldir"]
+ "files": ["main.py", "App/Main.qml", "App/logo.png", "App/qmldir"]
}
#. Now that you have the necessary bits for the application, import the