Still seems to be a missing include in samplingthread.h.

I can tell you in aedvance that once you solve these problems you will have to use qRegisterMetaType.