Multithreaded QLocalSocket

Thiago Macieira thiago at
Sun Jun 29 14:00:00 BST 2008

Sebastian Trüg wrote:
>Apparently on Unix QLocalSocket uses QTcpSocket internally. This results
> in a big problem when I want to use it in a multithreaded environment
> as I cannot move the internal QTcpSocket to the new thread. Does anyone
> have an idea on how to solve this issue? On how to use QLocalSocket in
> multithreaded systems?

moveToThread() should be possible. Anything else is a bug and you should 

  Thiago Macieira  -  thiago (AT) - thiago (AT)
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list