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:
Code:
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
It seams that the QApplication object is initiated to early.