diff --git a/src/app/main.cpp b/src/app/main.cpp index 0eabcf965b81f6a2c0fff89d9649db9631aa3e7a..0be05f3eeed88d424ccd4a38a77dc002cc8c8dc4 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -178,7 +178,7 @@ static inline QStringList getPluginPaths() // Figure out root: Up one from 'bin' QDir rootDir = QApplication::applicationDirPath(); rootDir.cdUp(); - const QString rootDirPath = rootDir.canonicalPath(); + const QString rootDirPath = QDir::toNativeSeparators(rootDir.canonicalPath()); // 1) "plugins" (Win/Linux) QString pluginPath = rootDirPath; pluginPath += QDir::separator();