Report failures to find ABIs of Qt versions

Give a reason why the Qt version is not valid when we were not
able to detect the ABIs used by the Qt version.
This commit is contained in:
Tobias Hunger
2011-03-03 17:01:45 +01:00
parent aa5b5e237c
commit b5e79e352c

View File

@@ -1768,6 +1768,8 @@ QString QtVersion::invalidReason() const
"Could not determine the path to the binaries of the Qt installation, maybe the qmake path is wrong?");
if (m_abiUpToDate && m_mkspecFullPath.isEmpty())
return QCoreApplication::translate("QtVersion", "The default mkspec symlink is broken.");
if (m_abiUpToDate && m_abis.isEmpty())
return QCoreApplication::translate("QtVersion", "Failed to detect the ABI(s) used by the Qt version.");
return QString();
}