forked from qt-creator/qt-creator
Maemo: Deploy to sysroot.
This commit is contained in:
@@ -39,6 +39,13 @@ void MaemoDeployStepWidget::init()
|
||||
this, SLOT(handleDeviceConfigModelChanged()));
|
||||
connect(ui->deviceConfigComboBox, SIGNAL(activated(int)), this,
|
||||
SLOT(setCurrentDeviceConfig(int)));
|
||||
#ifdef DEPLOY_VIA_MOUNT
|
||||
ui->deployToSysrootCheckBox->setChecked(m_step->deployToSysroot());
|
||||
connect(ui->deployToSysrootCheckBox, SIGNAL(toggled(bool)), this,
|
||||
SLOT(setDeployToSysroot(bool)));
|
||||
#else
|
||||
ui->deployToSysrootCheckBox->hide();
|
||||
#endif
|
||||
handleDeviceConfigModelChanged();
|
||||
}
|
||||
|
||||
@@ -91,5 +98,14 @@ void MaemoDeployStepWidget::setCurrentDeviceConfig(int index)
|
||||
m_step->deviceConfigModel()->setCurrentIndex(index);
|
||||
}
|
||||
|
||||
void MaemoDeployStepWidget::setDeployToSysroot(bool doDeploy)
|
||||
{
|
||||
#ifdef DEPLOY_VIA_MOUNT
|
||||
m_step->setDeployToSysroot(doDeploy);
|
||||
#else
|
||||
Q_UNUSED(doDeploy)
|
||||
#endif
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Qt4ProjectManager
|
||||
|
||||
Reference in New Issue
Block a user