From be0abf3cffc9723b84d0574c1b1aff7a99dce389 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Thu, 8 Apr 2010 21:36:11 +0200 Subject: [PATCH] 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 --- src/plugins/qt4projectmanager/qmakestep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qt4projectmanager/qmakestep.cpp b/src/plugins/qt4projectmanager/qmakestep.cpp index 73b681ca308..065e22f7420 100644 --- a/src/plugins/qt4projectmanager/qmakestep.cpp +++ b/src/plugins/qt4projectmanager/qmakestep.cpp @@ -200,7 +200,7 @@ void QMakeStep::run(QFutureInterface &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));