diff options
| author | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2024-11-08 18:38:00 +0100 |
|---|---|---|
| committer | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2024-11-11 16:38:50 +0100 |
| commit | 435e739df302114517f1685a5146e4741454ad9d (patch) | |
| tree | 2d180b97a719b129cf266813a7074c3c4bd3a8a7 /sources/pyside6/doc/tutorials/qmlsqlintegration/main.py | |
| parent | d500c4fcebdad5516da1ae7865d76437c752ac92 (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/qmlsqlintegration/main.py')
| -rw-r--r-- | sources/pyside6/doc/tutorials/qmlsqlintegration/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/doc/tutorials/qmlsqlintegration/main.py b/sources/pyside6/doc/tutorials/qmlsqlintegration/main.py index 92fcf7c87..e42f8f2e9 100644 --- a/sources/pyside6/doc/tutorials/qmlsqlintegration/main.py +++ b/sources/pyside6/doc/tutorials/qmlsqlintegration/main.py @@ -50,7 +50,7 @@ if __name__ == "__main__": engine = QQmlApplicationEngine() engine.addImportPath(sys.path[0]) - engine.loadFromModule("Main", "Main") + engine.loadFromModule("App", "Main") if not engine.rootObjects(): sys.exit(-1) |
