Commit be0abf3c authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Case insensitive drive comparision: Symbian SDK vs. project sources.

If SDK and Project were on te same drive but for some reason the drive
in the pathes had different cases, we had false alarms.

Made the comparision case insensitive as agreed with Tobias.

Reviewed-by: Tobias Hunger
parent 50b70d76
......@@ -200,7 +200,7 @@ void QMakeStep::run(QFutureInterface<bool> &fi)
QFileInfo cppheader(epocRootDir + QLatin1String("/epoc32/include/stdapis/string.h"));
#if defined (Q_OS_WIN)
// Report an error if project- and epoc directory are on different drives:
if (!epocRootDir.startsWith(projectDir.left(3))) {
if (!epocRootDir.startsWith(projectDir.left(3), Qt::CaseInsensitive)) {
addTask(Task(Task::Error,
tr("The Symbian SDK and the project sources must reside on the same drive."),
QString(), -1, ProjectExplorer::Constants::TASK_CATEGORY_BUILDSYSTEM));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment