Commit e7c6b9db authored by Daniel Teske's avatar Daniel Teske Committed by Oswald Buddenhagen

Make sysrootify case-insensitive on windows

Task-Number: QTCREATORBUG-6419

Change-Id: If3ab035ee3a117744213d5e3db3ffa41f7283d53
Reviewed-by: default avatarOswald Buddenhagen <>
parent 0c3f3c00
......@@ -1578,8 +1578,14 @@ QString ProFileEvaluator::Private::currentDirectory() const
QString ProFileEvaluator::Private::sysrootify(const QString &path, const QString &baseDir) const
const bool isHostSystemPath = m_option->sysroot.isEmpty() || path.startsWith(m_option->sysroot)
|| path.startsWith(baseDir) || path.startsWith(m_outputDir);
#ifdef Q_OS_WIN
Qt::CaseSensitivity cs = Qt::CaseInsensitive;
Qt::CaseSensitivity cs = Qt::CaseSensitive;
const bool isHostSystemPath = m_option->sysroot.isEmpty() || path.startsWith(m_option->sysroot, cs)
|| path.startsWith(baseDir, cs) || path.startsWith(m_outputDir, cs);
return isHostSystemPath ? path : m_option->sysroot + path;
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