aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/tutorials/qmlintegration/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/doc/tutorials/qmlintegration/main.py')
-rw-r--r--sources/pyside6/doc/tutorials/qmlintegration/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/doc/tutorials/qmlintegration/main.py b/sources/pyside6/doc/tutorials/qmlintegration/main.py
index 574e314de..f08ad099f 100644
--- a/sources/pyside6/doc/tutorials/qmlintegration/main.py
+++ b/sources/pyside6/doc/tutorials/qmlintegration/main.py
@@ -54,7 +54,7 @@ if __name__ == '__main__':
engine = QQmlApplicationEngine()
# Add the current directory to the import paths and load the main module.
engine.addImportPath(sys.path[0])
- engine.loadFromModule("Main", "Main")
+ engine.loadFromModule("QmlIntegration", "Main")
if not engine.rootObjects():
sys.exit(-1)