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

Andreas Pakulat apaku at gmx.de
Thu Jun 21 21:34:10 BST 2007


On 21.06.07 22:28:43, Christian Esken wrote:
> 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?

Your qt-copy is outdated.

Andreas

-- 
You'll never be the man your mother was!




More information about the kde-core-devel mailing list