C++ (Qt)QDesktopServices::openUrl(QUrl::fromLocalFile(QApplication::applicationDirPath()+"/../foo.txt"));