Hey I suggest to use QStandardPaths for locating Teamspeak Client data especially for user data where its done by teamspeak itself as it seams currently.
Also Qt throws the warning:
It seams that the QApplication object is initiated to early.Code:QCoreApplication::applicationDirPath: Please instantiate the QApplication object first