[Qt-interest] QSslSocket: QAbstractSocket::error - "no suchslot"problem
Scott Aron Bloom
Scott.Bloom at sabgroup.com
Wed Apr 15 07:03:55 CEST 2009
Only types that are part of QtCore are registered by default. Since the SocketError is part of the network package, the core doesn’t know about them.
Its in the docs…. Somewhere J don’t ask me where.. The example they give is the Colors enum since that’s a gui type.
Scott
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Tony Rietwyk
Sent: Tuesday, April 14, 2009 9:58 PM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] QSslSocket: QAbstractSocket::error - "no suchslot"problem
Hi Stephen,
Please respond to the list so others can see that the solution worked.
I have no idea why it is not already registered.
Glad to have been of help,
Tony.
-----Original Message-----
From: Stephen Collyer [mailto:scollyer at netspinner.co.uk]
Sent: Tuesday, 14 April 2009 18:14
To: Tony Rietwyk
Subject: Re: [Qt-interest] QSslSocket: QAbstractSocket::error - "no such slot"problem
2009/4/14 Tony Rietwyk <tony.rietwyk at rightsoft.com.au>
Hi Stephen,
Have you tried registering the SocketError type, as suggested in the error signal documentation?
Tony
Thanks. That was the problem. I didn't see that last night.
Why is QAbstractSocket::SocketError not a registered metatype though ?
--
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090414/412175ec/attachment.html
More information about the Qt-interest-old
mailing list