@Mucip said in Qt 6.9 and QML harmony?:
Hi,
Tutorial is: https://www.youtube.com/watch?v=Tq-E6lqO6tM
Too long (didn't watch) for me. As @SGaist mentions, setting up the context property should happen before attempting to load the root component. If the tutorial demonstrated loading from a remote source, it might have worked generally worked despite the race condition.
https://doc.qt.io/qt-6/qqmlapplicationengine.html#loadFromModule
If the type originates from a QML file located at a remote url, the type will be loaded asynchronously.
I interpret this as an indication that a file from a local url will be loaded synchronously.