summaryrefslogtreecommitdiff
path: root/src/plugins/android/androiddeployqtwidget.h
diff options
context:
space:
mode:
authorBogDan Vatra <bogdan@kde.org>2014-06-25 15:42:11 +0200
committerDaniel Teske <daniel.teske@digia.com>2014-07-21 12:41:28 +0200
commit64e5a543a845d8d800504206a42c58d4e28ac89c (patch)
tree205faff83b9fb890c65309fe4c7cc7878826f515 /src/plugins/android/androiddeployqtwidget.h
parent4657ac7452662d19823412e82d599bf4079a3c4d (diff)
downloadqt-creator-64e5a543a845d8d800504206a42c58d4e28ac89c.tar.gz
Move qmake specific part to qmake plugin, generalize android support
- Split up androiddeployqt into two steps: One building the apk, and one deploying it to the device. - The build apk step base class AndroidBuildApkStep is ihneritaged by the qmake specific class QmakeAndroidBuildApkStep. - The deployment step is still called androiddeployqt - Move all qmake specific code to the qmakeprojectmanager plguin - Flip the depencency between the android and qmake plugin, now the qmake plugin depends on the android plugin, implementing a interface the android plugin provides. - Note: This removes the debug deployment for now. Change-Id: I1c386640159ed14b637668abde8eb3b9009ab803 Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'src/plugins/android/androiddeployqtwidget.h')
-rw-r--r--src/plugins/android/androiddeployqtwidget.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/plugins/android/androiddeployqtwidget.h b/src/plugins/android/androiddeployqtwidget.h
index d44a79186a..158b530593 100644
--- a/src/plugins/android/androiddeployqtwidget.h
+++ b/src/plugins/android/androiddeployqtwidget.h
@@ -38,12 +38,10 @@ QT_BEGIN_NAMESPACE
namespace Ui { class AndroidDeployQtWidget; }
QT_END_NAMESPACE
-namespace QmakeProjectManager { class QmakeBuildConfiguration; }
-
namespace Android {
namespace Internal {
class AndroidDeployQtStep;
-class AndroidExtraLibraryListModel;
+
class AndroidDeployQtWidget : public ProjectExplorer::BuildStepConfigWidget
{
Q_OBJECT
@@ -53,39 +51,16 @@ public:
~AndroidDeployQtWidget();
private slots:
- void setTargetSdk(const QString &sdk);
- void setMinistro();
- void setDeployLocalQtLibs();
- void setBundleQtLibs();
void installMinistro();
void cleanLibsOnDevice();
void resetDefaultDevices();
- void createKeyStore();
- void certificatesAliasComboBoxCurrentIndexChanged(const QString &alias);
- void certificatesAliasComboBoxActivated(const QString &alias);
- void activeBuildConfigurationChanged();
- void updateSigningWarning();
- void openPackageLocationCheckBoxToggled(bool checked);
- void verboseOutputCheckBoxToggled(bool checked);
- void updateKeyStorePath(const QString &path);
- void signPackageCheckBoxToggled(bool checked);
- void updateInputFileUi();
- void inputFileComboBoxIndexChanged();
- void createManifestButton();
- void addAndroidExtraLib();
- void removeAndroidExtraLib();
- void checkEnableRemoveButton();
private:
virtual QString summaryText() const;
virtual QString displayName() const;
- void setCertificates();
Ui::AndroidDeployQtWidget *m_ui;
AndroidDeployQtStep *m_step;
- AndroidExtraLibraryListModel *m_extraLibraryListModel;
- QmakeProjectManager::QmakeBuildConfiguration *m_currentBuildConfiguration;
- bool m_ignoreChange;
};
}