Quote Originally Posted by Syndacate View Post
The only exec() I call is when I exec the app from the main file.
Then you are missing it in the thread's run()

Quote Originally Posted by Syndacate View Post
The server_thread subclasses QThread, so after I construct it in the rtserver, I call:
Qt Code:
  1. st->start()
To copy to clipboard, switch view to plain text mode 

I expected start() to exec the thread, no?
That starts the thread. The default implementation of run() calls exec() to start the thread's event loop.
Since you overwrote that, you have to start it either by calling the base implementation of run() or calling exec() yourself.

If you don't execute the thread's event loop then the thread will exit as soon as the run method's scope is done.

Cheers,
_