mejustme
25th June 2008, 16:50
Hello.
I'm using PyQt 4.2.
My application uses a QTcpServer to implement the comunication between to GUI classes. (I want to send a message from one to another).
I have class that extends QThread, which executes an infinite loop and listens to incomming connections. I also send messages from this thread. The application works fine when i use it as a member of GUI class. But when i use it as a standalone application in a main I don't receive any connections. :confused:
Can anyone help.
I'm using PyQt 4.2.
My application uses a QTcpServer to implement the comunication between to GUI classes. (I want to send a message from one to another).
I have class that extends QThread, which executes an infinite loop and listens to incomming connections. I also send messages from this thread. The application works fine when i use it as a member of GUI class. But when i use it as a standalone application in a main I don't receive any connections. :confused:
Can anyone help.