forked from qt-creator/qt-creator
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:
@@ -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?");
|
"Could not determine the path to the binaries of the Qt installation, maybe the qmake path is wrong?");
|
||||||
if (m_abiUpToDate && m_mkspecFullPath.isEmpty())
|
if (m_abiUpToDate && m_mkspecFullPath.isEmpty())
|
||||||
return QCoreApplication::translate("QtVersion", "The default mkspec symlink is broken.");
|
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();
|
return QString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user