kdepimlibs/mailtransport/socket.cpp : ‘AnyProtocol’ is not a member of ‘QSsl’

Christian Esken esken at kde.org
Thu Jun 21 21:28:43 BST 2007


Hi,

just got this error while compiling kdepimlibs:

/opt/SVN/kdepimlibs/mailtransport/socket.cpp: In member function ‘virtual void MailTransport::Socket::reconnect()’:
/opt/SVN/kdepimlibs/mailtransport/socket.cpp:157: error: ‘AnyProtocol’ is not a member of ‘QSsl’
make[2]: *** [mailtransport/CMakeFiles/mailtransport.dir/socket.o] Error 1
make[1]: *** [mailtransport/CMakeFiles/mailtransport.dir/all] Error 2
make: *** [all] Error 2


I fixed this locally like this:

-  d->socket->setProtocol( QSsl::AnyProtocol );
+  d->socket->setProtocol( QSslSocket::AnyProtocol );

Has ‘AnyProtocol’ moved recently or is kdepimlibs buggy?

  Christian

-- 
Things should be made as simple as possible, but no simpler. 
  - Albert Einstein




More information about the kde-core-devel mailing list