Forum
Merhaba
QT de iç içe thread kullanarak yazdığım qui uygulamasında sorunsuz çalışırken aynı kodları console ile çalıştırdığımda belli bir saniyeden sonra
QIODevice::read (QTcpSocket): device not open
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QTcpSocket(0x7f8278002de0), parent's thread is Dialog(0x55ca04e04730), current thread is QThread(0x55ca04e00eb0)
QNativeSocketEngine::waitForWrite() was called in QAbstractSocket::UnconnectedState
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Invalid socket 4 and type 'Write', disabling...
QSocketNotifier: Invalid socket 4 and type 'Write', disabling...
QSocketNotifier: Invalid socket 4 and type 'Write', disabling...
QSocketNotifier: Invalid socket 4 and type 'Write', disabling...
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QTcpSocket(0x7f8278002de0), parent's thread is Dialog(0x55ca04e04730), current thread is Baglanti(0x7f82780054a0)
QSocketNotifier: Invalid socket 4 and type 'Write', disabling...
QSocketNotifier: Invalid socket 4 and type 'Write', disabling...
QSocketNotifier: Invalid socket 4 and type 'Write', disabling...
Press <RETURN> to close this window...
hatası çıkıyor. Bunu nasıl çözebilirim ?
Teşekkürler
Tcpsocketi 2 thread içerisinde çağırdımdan dolayı oluşan bir hataymış
Geri bilgilendirme için teşekkürler.