We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03d00f1 commit d8d4ae8Copy full SHA for d8d4ae8
1 file changed
common/paths.cpp
@@ -60,7 +60,8 @@ void setRootPath(const QString &rootPath)
60
void setRelativeRootPath(const char *relativeRootPath)
61
{
62
Q_ASSERT(relativeRootPath);
63
- setRootPath(QCoreApplication::applicationDirPath() + QDir::separator()
+ setRootPath(QFileInfo(QCoreApplication::applicationFilePath()).canonicalPath()
64
+ + QDir::separator()
65
+ QLatin1String(relativeRootPath));
66
}
67
0 commit comments