Hi and welcome to devnet,
if ( (sslCertificateFile.open(QIODevice::ReadOnly)) &&
sslCertificateFileserver.open(QIODevice::ReadOnly))
You don’t do anything in case either files fails to open, at least printing an error message would help find out. Also since your paths are relative, theses two files probably can’t be found at run time.
↧