Qt: Add invalidReason

This commit is contained in:
Tobias Hunger
2011-05-04 16:20:34 +02:00
parent ed1fbc940e
commit 72e01313b6

View File

@@ -1888,6 +1888,9 @@ QString QtVersion::invalidReason() const
return QCoreApplication::translate("QtVersion", "Failed to detect the ABI(s) used by the Qt version."); return QCoreApplication::translate("QtVersion", "Failed to detect the ABI(s) used by the Qt version.");
if (!m_validSystemRoot) if (!m_validSystemRoot)
return QCoreApplication::translate("QtVersion", "The \"Open C/C++ plugin\" is not installed in the Symbian SDK or the Symbian SDK path is misconfigured"); return QCoreApplication::translate("QtVersion", "The \"Open C/C++ plugin\" is not installed in the Symbian SDK or the Symbian SDK path is misconfigured");
if (isBuildWithSymbianSbsV2()
&& (m_sbsV2Directory.isEmpty() || !QFileInfo(m_sbsV2Directory + QLatin1String("/sbs")).exists()))
return QCoreApplication::translate("QtVersion", "SBS was not found.");
return QString(); return QString();
} }