forked from qt-creator/qt-creator
If no Symbian device is connected the deployment process will be skipped instead of aborting the whole build.
This commit is contained in:
@@ -145,7 +145,7 @@ bool S60DeployStep::init()
|
|||||||
delete m_launcher;
|
delete m_launcher;
|
||||||
m_launcher = 0;
|
m_launcher = 0;
|
||||||
appendMessage(message, true);
|
appendMessage(message, true);
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
// Prompt the user to start up the Blue tooth connection
|
// Prompt the user to start up the Blue tooth connection
|
||||||
const trk::PromptStartCommunicationResult src =
|
const trk::PromptStartCommunicationResult src =
|
||||||
@@ -157,7 +157,7 @@ bool S60DeployStep::init()
|
|||||||
delete m_launcher;
|
delete m_launcher;
|
||||||
m_launcher = 0;
|
m_launcher = 0;
|
||||||
appendMessage(message, true);
|
appendMessage(message, true);
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -212,7 +212,7 @@ bool S60DeployStep::processPackageName(QString &errorMessage)
|
|||||||
void S60DeployStep::start()
|
void S60DeployStep::start()
|
||||||
{
|
{
|
||||||
if (m_serialPortName.isEmpty()) {
|
if (m_serialPortName.isEmpty()) {
|
||||||
appendMessage(tr("There is no device plugged in."), true);
|
appendMessage(tr("No device is connected. Please connect a device and try again."), true);
|
||||||
emit finished();
|
emit finished();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -539,7 +539,7 @@ void S60DeviceRunControl::start()
|
|||||||
emit started();
|
emit started();
|
||||||
if (m_serialPortName.isEmpty()) {
|
if (m_serialPortName.isEmpty()) {
|
||||||
m_launchProgress->reportCanceled();
|
m_launchProgress->reportCanceled();
|
||||||
appendMessage(this, tr("There is no device plugged in."), true);
|
appendMessage(this, tr("No device is connected. Please connect a device and try again."), true);
|
||||||
emit finished();
|
emit finished();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user