Commit 9b132ea0 authored by dt's avatar dt Committed by con

Wrong path comparision making resulting in unecessary qmake runs

(cherry picked from commit 3aec72c4)
parent dfebb2d2
......@@ -474,6 +474,9 @@ void QtVersion::setName(const QString &name)
void QtVersion::setPath(const QString &path)
m_path = QDir::cleanPath(path);
#ifdef Q_OS_WIN
m_path = m_path.toLower();
m_versionInfoUpToDate = false;
m_mkspecUpToDate = false;
......@@ -525,6 +528,9 @@ QString QtVersionManager::findQtVersionFromMakefile(const QString &directory)
QFileInfo qmake(r1.cap(1).trimmed());
QFileInfo binDir(qmake.absolutePath());
QString qtDir = binDir.absolutePath();
#ifdef Q_OS_WIN
qtDir = qtDir.toLower();
if (debugAdding)
qDebug() << "#~~ QtDir:"<<qtDir;
return qtDir;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment