Adding a command line option to add dll search paths via _wpuntenv_s(L"PATH", ...) or SetDLLDirectory(L"...") into qml.exe would also work, right?
I didn't know this exists. You'd have to add a lot of directories, though, since it doesn't want to see the QML import path but the paths to the individual modules I guess.
If you have a solution in mind, feel free to push a change to https://codereview.qt-project.org and add me as reviewer. It would be nice to make this work.
-- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development