Alex Snet
14th April 2009, 20:04
Hi 2 all.
I have a small problem. Now I make my personal HTTP server and I have some trouble with developing.
There are sources of it: http://alexsnet.ru/temp/HTTPServ.zip
When I compile - all is good, but when I connect to it debugger writes:
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QTcpSocket(0x5716b8), parent's thread is QThread(0x509c80), current thread is sockThread(0x5716b0)
How I can solve this problem?
I have a small problem. Now I make my personal HTTP server and I have some trouble with developing.
There are sources of it: http://alexsnet.ru/temp/HTTPServ.zip
When I compile - all is good, but when I connect to it debugger writes:
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QTcpSocket(0x5716b8), parent's thread is QThread(0x509c80), current thread is sockThread(0x5716b0)
How I can solve this problem?