diff --git a/src/main.cpp b/src/main.cpp index 3cf6aab803..9126358ceb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -34,6 +34,7 @@ #include #include +#include #include #include @@ -61,7 +62,7 @@ static int inner_main(int argc, char** argv) #if defined(Q_OS_LINUX) if (QSslSocket::supportsSsl()) { // Don't perform on-demand loading of root certificates on Linux - QSslSocket::addDefaultCaCertificates(QSslSocket::systemCaCertificates()); + QSslSocket::addDefaultCaCertificates(QSslConfiguration::systemCaCertificates()); } #endif