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

Elias Steurer kelteseth at googlemail.com
Wed Oct 25 13:34:16 CEST 2023


Ahh I get it now, thanks for the help. I do can confirm it does work 
when putting the dlls into the qt folder.

Thanks,

Eli

Am 25.10.2023 um 12:52 schrieb Ulf Hermann via Development:
>> According to dependency scanner it depends on Qt6Qml.dll, Qt6Core.dll 
>> and World.dll. All of these should be either be available from Qt or 
>> from the additional import path I provided. Even when copying the 
>> dlls into the directory, I get the same error.
>
> This is not about the import path but about the windows dynamic linker 
> being unable to load any library that's not in PATH or next to the 
> application. The application, in this case is the "qml" tool in Qt. 
> That's unfortunate, but this is just how it is on windows. It's not 
> specific to QML modules Any library that's not next to your 
> application has this problem. We have deployment tooling to deal with 
> this.
>
> best regards,
> Ulf


More information about the Development mailing list