Calls to such functions are replaced* by those functions' code, therefore their definition must be accessible during compilation --- you can't add inline functions in the linking stage.

If you want to use inline methods you must move them to .h files.

Thread.h:14: warning: inline function `void Thread::setMessage(const QString&)' used but never defined
* Compilers threat inline keyword as a hint, so they might ignore in some cases.