diff --git a/src/plugins/projectexplorer/projectwizardpage.cpp b/src/plugins/projectexplorer/projectwizardpage.cpp index 913e21d7ddb..925b141f945 100644 --- a/src/plugins/projectexplorer/projectwizardpage.cpp +++ b/src/plugins/projectexplorer/projectwizardpage.cpp @@ -34,6 +34,7 @@ #include "ui_projectwizardpage.h" #include +#include #include #include @@ -142,7 +143,7 @@ static bool generatedFilePathLessThan(const QString &filePath1, const QString &f const bool filePath2HasDir = filePath2.contains(QLatin1Char('/')); if (filePath1HasDir == filePath2HasDir) - return filePath1 < filePath2; + return Utils::FileName::fromString(filePath1) < Utils::FileName::fromString(filePath2); else return filePath1HasDir; }