summaryrefslogtreecommitdiffstats
path: root/examples/imapresource
diff options
context:
space:
mode:
Diffstat (limited to 'examples/imapresource')
-rw-r--r--examples/imapresource/imapresource.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/imapresource/imapresource.cpp b/examples/imapresource/imapresource.cpp
index 4151afa..1daf8ed 100644
--- a/examples/imapresource/imapresource.cpp
+++ b/examples/imapresource/imapresource.cpp
@@ -1063,6 +1063,17 @@ ImapResource::ImapResource(const ResourceContext &resourceContext)
1063 encryption = Imap::Starttls; 1063 encryption = Imap::Starttls;
1064 } 1064 }
1065 1065
1066 if (!QSslSocket::supportsSsl()) {
1067 SinkWarning() << "Qt doesn't support ssl. This is likely a distribution/packaging problem.";
1068 //On windows this means that the required ssl dll's are missing
1069 SinkWarning() << "Ssl Library Build Version Number: " << QSslSocket::sslLibraryBuildVersionString();
1070 SinkWarning() << "Ssl Library Runtime Version Number: " << QSslSocket::sslLibraryVersionString();
1071 } else {
1072 SinkTrace() << "Ssl support available";
1073 SinkTrace() << "Ssl Library Build Version Number: " << QSslSocket::sslLibraryBuildVersionString();
1074 SinkTrace() << "Ssl Library Runtime Version Number: " << QSslSocket::sslLibraryVersionString();
1075 }
1076
1066 auto synchronizer = QSharedPointer<ImapSynchronizer>::create(resourceContext); 1077 auto synchronizer = QSharedPointer<ImapSynchronizer>::create(resourceContext);
1067 synchronizer->mServer = server; 1078 synchronizer->mServer = server;
1068 synchronizer->mPort = port; 1079 synchronizer->mPort = port;