Hello!
I'm trying to make a chess game that has a Qt GUI.
The game is played by two clients that communicate with a server. The server has implemented all the rules of the game and it only send the coordinates move to client or the error message. This messages are taken by the client in a thread, and the GUI is in another thread. How can I communicate the messages from one thread to another in order to make the moves I get from the server in the GUI or to show the error messages.
I can't put them both in the same thread because the first blocks the other.
I've tried with signals but it didn't worked, and I've tried to pass the Widget pointer into the second thread but still nothing.

Thanks for any suggestion!