From my tests, QCoreApplication::applicationDirPath() resolves the symbolic links if any in the path. A more clever comparison needs to be implemented, probably using QDir::canonicalPath().
From my tests, QCoreApplicatio n::applicationD irPath( ) resolves the symbolic links if any in the path. Path().
A more clever comparison needs to be implemented, probably using QDir::canonical