[Development] Using qml.exe with a custom QML_ELEMENT plugin

Ulf Hermann ulf.hermann at qt.io
Wed Oct 25 14:47:42 CEST 2023


> 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.


More information about the Development mailing list