Commit ee0c5d31 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Do not report qmake pathes if the file is no longer there

 * We get a bogus Qt imported otherwise
parent a22af062
......@@ -714,7 +714,9 @@ QString QtVersionManager::findQMakeBinaryFromMakefile(const QString &directory)
#ifdef Q_OS_WIN
qmakePath = qmakePath.toLower();
return qmakePath;
// Is qmake still installed?
if (QFile::exists(qmakePath))
return qmakePath;
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