Commit 62e75919 authored by Christian Kandeler's avatar Christian Kandeler

Maemo: "Mad Developer" is now called "SDK Connectivity" on Harmattan.

parent 514c98b6
......@@ -160,9 +160,15 @@ void MaemoConfigTestDialog::handleMadDeveloperTestResult(int exitStatus)
m_ui->testResultEdit->setPlainText(tr("Remote process failed: %1")
} else if (m_testProcessRunner->process()->exitCode() != 0) {
+ QLatin1String("<br>") + tr("Mad Developer is not installed.<br>"
"You will not be able to deploy to this device."));
QString errorMsg = m_ui->errorLabel->text() + QLatin1String("<br>")
+ tr("%1 is not installed.<br>You will not be able to deploy "
"to this device.")
if (m_config->osVersion() == MaemoGlobal::Maemo6) {
errorMsg += QLatin1String("<br>")
+ tr("Please switch the device to developer mode via Settings -> Security.");
if (m_config->freePorts().hasMore())
......@@ -364,6 +364,7 @@ public:
m_keyDeployer(new MaemoKeyDeployer(this))
m_instructionTextTemplate = m_ui->instructionLabel->text();
setTitle(tr("Key Deployment"));
setSubTitle(QLatin1String(" ")); // For Qt bug (background color)
connect(m_ui->deviceAddressLineEdit, SIGNAL(textChanged(QString)),
......@@ -381,6 +382,9 @@ public:
m_isComplete = false;
......@@ -425,7 +429,8 @@ private:
QMessageBox::information(this, tr("Key Deployment Success"),
tr("The key was successfully deployed. You may now close "
"the \"Mad Developer\" application and continue."));
"the \"%1\" application and continue.")
m_ui->statusLabel->setText(m_ui->statusLabel->text() + tr("Done."));
m_isComplete = true;
emit completeChanged();
......@@ -448,6 +453,7 @@ private:
bool m_isComplete;
const WizardData &m_wizardData;
MaemoKeyDeployer * const m_keyDeployer;
QString m_instructionTextTemplate;
class MaemoDeviceConfigWizardFinalPage : public QWizardPage
......@@ -6,8 +6,8 @@
<property name="windowTitle">
......@@ -20,9 +20,9 @@
<string>To deploy the public key to your device, please execute the following steps:
&lt;li&gt;Connect the device to your computer (unless you plan to connect via WLAN).&lt;/li&gt;
&lt;li&gt;On the device, start the &quot;Mad Developer&quot; application.&lt;/li&gt;
&lt;li&gt;In &quot;Mad Developer&quot;, configure the device's IP address to the one shown below (or edit the field below to match the address you have configured).&lt;/li&gt;
&lt;li&gt;In &quot;Mad Developer&quot;, press &quot;Developer Password&quot; and enter it in the field below.&lt;/li&gt;
&lt;li&gt;On the device, start the &quot;%%%maddev%%%&quot; application.&lt;/li&gt;
&lt;li&gt;In &quot;%%%maddev%%%&quot;, configure the device's IP address to the one shown below (or edit the field below to match the address you have configured).&lt;/li&gt;
&lt;li&gt;In &quot;%%%maddev%%%&quot;, press &quot;Developer Password&quot; and enter it in the field below.&lt;/li&gt;
&lt;li&gt;Click &quot;Deploy Key&quot;&lt;/li&gt;
......@@ -187,6 +187,12 @@ QString MaemoGlobal::madCommand(const QtVersion *qtVersion)
return maddeRoot(qtVersion) + QLatin1String("/bin/mad");
QString MaemoGlobal::madDeveloperUiName(MaemoVersion maemoVersion)
return maemoVersion == Maemo6
? tr("SDK Connectivity") : tr("Mad Developer");
MaemoGlobal::MaemoVersion MaemoGlobal::version(const QtVersion *qtVersion)
const QString &name = targetName(qtVersion);
......@@ -90,7 +90,9 @@ public:
static QString targetRoot(const QtVersion *qtVersion);
static QString targetName(const QtVersion *qtVersion);
static QString madCommand(const QtVersion *qtVersion);
static QString madDeveloperUiName(MaemoVersion maemoVersion);
static MaemoVersion version(const QtVersion *qtVersion);
// TODO: IS this still needed with Qt Version having an Abi?
static QString architecture(const QtVersion *version);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment