forked from qt-creator/qt-creator
Show warning if qmlviewer is missing
Change-Id: Ie6275ebf6a49f0b1732cc146abeaa23c7b6eafd4 Reviewed-on: http://codereview.qt.nokia.com/1843 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -89,6 +89,13 @@ QString SimulatorQtVersion::invalidReason() const
|
||||
return tmp;
|
||||
}
|
||||
|
||||
QString SimulatorQtVersion::warningReason() const
|
||||
{
|
||||
if (qtVersion() >= QtSupport::QtVersionNumber(4, 7, 0) && qmlviewerCommand().isEmpty())
|
||||
return QCoreApplication::translate("QtVersion", "No qmlviewer installed.");
|
||||
return QString();
|
||||
}
|
||||
|
||||
QList<ProjectExplorer::Abi> SimulatorQtVersion::qtAbis() const
|
||||
{
|
||||
if (!m_qtAbisUpToDate) {
|
||||
|
||||
Reference in New Issue
Block a user