forked from qt-creator/qt-creator
		
	Symbian: Inform the user about Smart Installer's manual installation
This commit is contained in:
		@@ -96,6 +96,8 @@ public:
 | 
			
		||||
    QStringList packageTemplateFileNames() const;
 | 
			
		||||
    QStringList appPackageTemplateFileNames() const;
 | 
			
		||||
 | 
			
		||||
    bool runSmartInstaller() const;
 | 
			
		||||
 | 
			
		||||
    QVariantMap toMap() const;
 | 
			
		||||
 | 
			
		||||
signals:
 | 
			
		||||
@@ -116,7 +118,6 @@ protected:
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    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()
 | 
			
		||||
    m_launchProgress->setProgressValue(0);
 | 
			
		||||
    m_launchProgress->reportStarted();
 | 
			
		||||
    emit started();
 | 
			
		||||
 | 
			
		||||
    if (m_runSmartInstaller) { //Smart Installer does the running by itself
 | 
			
		||||
        appendMessage(tr("Please finalise the installation on your device."), NormalMessageFormat);
 | 
			
		||||
        emit finished();
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (m_serialPortName.isEmpty() && m_address.isEmpty()) {
 | 
			
		||||
        m_launchProgress->reportCanceled();
 | 
			
		||||
        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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user