From 72e01313b6abd993102fc047b6cb2fc62af88734 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 4 May 2011 16:20:34 +0200 Subject: [PATCH] Qt: Add invalidReason --- src/plugins/qt4projectmanager/qtversionmanager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/qt4projectmanager/qtversionmanager.cpp b/src/plugins/qt4projectmanager/qtversionmanager.cpp index 0700d9dcb9c..1db9c6359a0 100644 --- a/src/plugins/qt4projectmanager/qtversionmanager.cpp +++ b/src/plugins/qt4projectmanager/qtversionmanager.cpp @@ -1888,6 +1888,9 @@ QString QtVersion::invalidReason() const return QCoreApplication::translate("QtVersion", "Failed to detect the ABI(s) used by the Qt version."); 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"); + if (isBuildWithSymbianSbsV2() + && (m_sbsV2Directory.isEmpty() || !QFileInfo(m_sbsV2Directory + QLatin1String("/sbs")).exists())) + return QCoreApplication::translate("QtVersion", "SBS was not found."); return QString(); }