diff --git a/src/main.cpp b/src/main.cpp index 44076294c8..d4280939f8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -147,12 +147,15 @@ int main(int argc, char *argv[]) QDateTime::currentDateTime().toString(), QSysInfo::productType()); +// sslLibraryBuildVersionString will cause crash on macOS. +#if !defined(Q_OS_MACOS) qInfo() << "OpenSSL build version:" << QSslSocket::sslLibraryBuildVersionString() << "link version:" << QSslSocket::sslLibraryVersionString(); if (QSslSocket::sslLibraryBuildVersionNumber() != QSslSocket::sslLibraryVersionNumber()) { qWarning() << "versions of the built and linked OpenSSL mismatch, network may not work"; } +#endif // Should set the correct locale before VNoteX::getInst(). loadTranslators(app);