Update code for new SSL libraries in new Qt version

This commit is contained in:
baldurk
2021-01-27 17:06:09 +00:00
parent bddbc53226
commit 40b86b63fb
4 changed files with 41 additions and 4 deletions
@@ -184,10 +184,27 @@ CrashDialog::CrashDialog(PersistantConfig &cfg, QVariantMap crashReportJSON, QWi
"libraries needed for SSL support. "
"If you are building locally, check that ");
#if(QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
#if defined(Q_OS_WIN32)
#if QT_POINTER_SIZE == 8
text +=
tr("you have libcrypto-1_1-64.dll and libssl-1_1-64.dll available next to qrenderdoc.exe.");
#else
text += tr("you have libcrypto-1_1.dll and libssl-1_1.dll available next to qrenderdoc.exe.");
#endif
#else
text += tr("you have the runtime libopenssl library >= 1.1.1 available in your system.");
#endif
#else
#if defined(Q_OS_WIN32)
text += tr("you have libeay32.dll and ssleay32.dll available next to qrenderdoc.exe.");
#else
text += tr("you have the runtime libopenssl library >= 1.0.0 available in your system.");
#endif
#endif
text += lit("</p>");