if server uses ssl connection then you have to use QSsl* classes and for using them you have to build Qt with OpenSSL.