Quote Originally Posted by anda_skoa View Post
Check that you have started the main thread's event loop, i.e. called exec() on the application object.
I tried the code in a QT application with GUI and I create the Class Client object with a button.clicked(). When I click on the button, I thought that the QApplication::exec() happens in the main.cpp before I pressed on the button. So, normally, the main thread's event loop is supposed to be started before I click anywhere on the mainwindow .?

Thank you very much for the time you take to answer all my newbe question :-)

--
Serge