Priority: P3: Somewhat important
Affects Version/s: 5.12.10
Fix Version/s: None
Component/s: Core: Other
windows 64 bits
I have a project using Qt with OpenSSL for QSslSocket.
So my project has dependencies to the libcrypto-1_1-x64.dll and libssl-1_1-x64.dll.
Regarding the sources code of QSystemLibrary::load function
The DLL can be found if present in the same path than the executable, or if in any dir in PATH.
With some IDE like CLion in debug mode, executable can be in a different path than the runtime path set.
For example, we can have following structure :
If we call ../build/myprogram.exe when we are in the runtime/ directory, Qt's dll are found but not OpenSSL dll.
I think that QSystemLibrary::load should add in it's search path the current directory "." or add a mecanism to add custom path programmatically without changing the PATH variable.