The speech stops when QTextToSpeech gets destroyed. Create it on the heap instead and couple its lifetime to the plugin.