mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-06-23 13:01:56 -05:00
try order change
This commit is contained in:
parent
d61099f9c0
commit
173d152c67
|
|
@ -697,6 +697,14 @@ static void LoadPlugins()
|
|||
#ifdef _WIN32
|
||||
QString libPattern = "*.dll";
|
||||
SetDllDirectory(pluginDir.toStdWString().c_str());
|
||||
// Pre-load OpenSSL by full path so the bundled versions are used
|
||||
// before implicit loads triggered by http/mqtt/twitch sub-plugins.
|
||||
// On some machines a different libcrypto version is already in the
|
||||
// process, causing libssl to fail with ERROR_PROC_NOT_FOUND.
|
||||
QLibrary crypto(pluginDir + "/libcrypto-3-x64.dll");
|
||||
crypto.load();
|
||||
QLibrary ssl(pluginDir + "/libssl-3-x64.dll");
|
||||
ssl.load();
|
||||
#else
|
||||
QString libPattern = "*.so";
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user