Symbian: QML Viewre version added to info button

Change-Id: I413232e486053950230fe131dc156990ac1d96cf
Reviewed-on: http://codereview.qt-project.org/4470
Reviewed-by: Paweł Polański <jaggernod@gmail.com>
This commit is contained in:
Pawel Polanski
2011-09-08 16:10:29 +02:00
committed by Paweł Polański
parent 436c5a768b
commit 135b24b910

View File

@@ -77,6 +77,7 @@ const char LAST_DRIVE_LETTER = 'Z';
static const quint32 CODA_UID = 0x20021F96; static const quint32 CODA_UID = 0x20021F96;
static const quint32 QTMOBILITY_UID = 0x2002AC89; static const quint32 QTMOBILITY_UID = 0x2002AC89;
static const quint32 QTCOMPONENTS_UID = 0x200346DE; static const quint32 QTCOMPONENTS_UID = 0x200346DE;
static const quint32 QMLVIEWER_UID = 0x20021317;
QString formatDriveText(const S60DeployConfiguration::DeviceDrive &drive) QString formatDriveText(const S60DeployConfiguration::DeviceDrive &drive)
{ {
@@ -597,6 +598,7 @@ void S60DeployConfigurationWidget::getRomInfoResult(const Coda::CodaCommandResul
packagesOfInterest.append(CODA_UID); packagesOfInterest.append(CODA_UID);
packagesOfInterest.append(QTMOBILITY_UID); packagesOfInterest.append(QTMOBILITY_UID);
packagesOfInterest.append(QTCOMPONENTS_UID); packagesOfInterest.append(QTCOMPONENTS_UID);
packagesOfInterest.append(QMLVIEWER_UID);
if (m_codaInfoDevice) if (m_codaInfoDevice)
m_codaInfoDevice->sendSymbianInstallGetPackageInfoCommand(Coda::CodaCallback(this, &S60DeployConfigurationWidget::getInstalledPackagesResult), packagesOfInterest); m_codaInfoDevice->sendSymbianInstallGetPackageInfoCommand(Coda::CodaCallback(this, &S60DeployConfigurationWidget::getInstalledPackagesResult), packagesOfInterest);
} }
@@ -642,6 +644,10 @@ void S60DeployConfigurationWidget::getInstalledPackagesResult(const Coda::CodaCo
addToTable(str, tr("Qt Quick components version: "), error ? tr("Not installed") : versionString); addToTable(str, tr("Qt Quick components version: "), error ? tr("Not installed") : versionString);
} }
break; break;
case QMLVIEWER_UID: {
addToTable(str, tr("QML Viewer version: "), error ? tr("Not installed") : versionString);
}
break;
default: break; default: break;
} }
} }