Commit 673f9871 authored by Pawel Polanski's avatar Pawel Polanski
Browse files

Symbian: Inform the user about Smart Installer's manual installation

parent 5bc7652c
......@@ -96,6 +96,8 @@ public:
QStringList packageTemplateFileNames() const;
QStringList appPackageTemplateFileNames() const;
bool runSmartInstaller() const;
QVariantMap toMap() const;
......@@ -116,7 +118,6 @@ protected:
void ctor();
bool runSmartInstaller() const;
bool isSigned() const;
QString symbianPlatform() const;
QString symbianTarget() const;
......@@ -545,6 +545,7 @@ S60DeviceRunControl::S60DeviceRunControl(RunConfiguration *runConfiguration, QSt
m_qtBinPath = qtv->versionInfo().value(QLatin1String("QT_INSTALL_BINS"));
QTC_ASSERT(!m_qtBinPath.isEmpty(), return);
m_executableFileName = s60runConfig->localExecutableFileName();
m_runSmartInstaller = activeDeployConf->runSmartInstaller();
switch (activeDeployConf->communicationChannel()) {
case S60DeployConfiguration::CommunicationSerialConnection:
......@@ -582,6 +583,13 @@ void S60DeviceRunControl::start()
emit started();
if (m_runSmartInstaller) { //Smart Installer does the running by itself
appendMessage(tr("Please finalise the installation on your device."), NormalMessageFormat);
emit finished();
if (m_serialPortName.isEmpty() && m_address.isEmpty()) {
QString msg = tr("No device is connected. Please connect a device and try again.");
......@@ -233,6 +233,7 @@ private:
QString m_executableFileName;
QString m_qtDir;
QString m_qtBinPath;
bool m_runSmartInstaller;
tcftrk::TcfTrkDevice *m_tcfTrkDevice;
trk::Launcher *m_launcher;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment