Thanks, this one worked. I just wonder why it can't be done with my QThread subclass... Anyway QThread automatically starts an event loop so instead of inheriting QThread I will just use QObject with regular QThread instance.