Error: the self.udpSocket should stay!
self.udpSocket = QUdpSocket(self)
is what generated the QObject error
and needed to be changed to
self.udpSocket = QUdpSocket()
Does anyone have a sample code with QUdpSocket in QThread ?
Regards,
--
E
On 09:58 Tue 23 Aug , emmanuel_mays...@lynceantec
Hello,
I am trying to put a QUdpSock et in a QThread
Code is:
class LUdpConnectionThread(QThread):
def __init__(self, parent=None):
super(LUdpConnectionThread,self).__init__(parent)
self.debug = (DEBUG & THREADS)
@LInAndOut(DEBUG & THREADS)
def run(self):
'''