[Interest] Conflicts with Qt Qml Engine? - Are there any DaVinci Resolve team members around?
Fabian Kosmale
fabian.kosmale at qt.io
Wed Jul 30 08:54:58 CEST 2025
Hi Nuno,
in general, the host and plugin should not influence each other. There
is however one exception: Import paths specified via environment
variables (like QML2_IMPORT_PATH) might still affect the plugin.
Qt 6.10 allows setting the Qt::AA_PluginApplication attribute to avoid
that issue
(https://codereview.qt-project.org/c/qt/qtdeclarative/+/627695), and if
you follow the referenced bug, you actually find a mention of DaVinci
Resolve as a host where this was necessary.
I assume that using 6.10 beta is not an option for you project, but you
should be able to get the same behaviour by explicitly setting
QQmlEngine::setImportPathList to the subset of import paths you care
about – notably those in the Qt resource system, as that should be
completely independent from the host.
Lastly, if even that does not help, collecting more information about
import process (via
https://doc.qt.io/qt-6/qtquick-debugging.html#debugging-module-imports)
would help to narrow down the issue further.
Kind regards,
Fabian
--
Fabian Kosmale
Manager R&D
The Qt Company GmbH
Erich-Thilo-Str. 10
D-12489 Berlin
fabian.kosmale at qt.io
+49 1638686070
More information about the Interest
mailing list