I'm developing a software which uses QSslSocket to establish secured connections with a remote server. All DLL's I use (including Qt's precompiled DLLs) are stored into "DLL" subfolder. I planned to put "libeay32.dll" and "ssleay32.dll" into that DLL subfolder. Therefore, I copied the files and updated my manifest file accordingly.
<file name="libeay32.dll"/>
<file name="ssleay32.dll"/>
For some reason I can't explain, my application still finds "libeay32.dll" and "ssleay32.dll" somewhere else, and won't work because those are the wrong version.
If I put those DLL directly into the application directory, it works, but that's not what I want to do.
EDIT: For some reason, it works for others DLL (for instance OpenCV that I use as well).
EDIT2: This is NOT duplicate with the topic @rubenvb mentioned, it is actually a bug that has been reported to Qt: https://bugreports.qt.io/browse/QTBUG-59071
How can I tell Qt to take those DLL from the folder I expect?