forked from qt-creator/qt-creator
Android: Pass BuildSystem to CreateAndroidManifectWizard
Instead of a Target and hoping that its activeBuildystem is the right one. Change-Id: Ieb384d89e8f580b24205ce46a38f151aa72e2f6e Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Utils {
|
||||
class InfoLabel;
|
||||
}
|
||||
|
||||
namespace ProjectExplorer { class Target; }
|
||||
namespace ProjectExplorer { class BuildSystem; }
|
||||
|
||||
namespace Android {
|
||||
|
||||
@@ -92,7 +92,7 @@ class ANDROID_EXPORT CreateAndroidManifestWizard : public Utils::Wizard
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
CreateAndroidManifestWizard(ProjectExplorer::Target *target);
|
||||
CreateAndroidManifestWizard(ProjectExplorer::BuildSystem *buildSystem);
|
||||
|
||||
QString buildKey() const;
|
||||
void setBuildKey(const QString &buildKey);
|
||||
@@ -103,7 +103,7 @@ public:
|
||||
void setDirectory(const QString &directory);
|
||||
void setCopyGradle(bool copy);
|
||||
|
||||
ProjectExplorer::Target *target() const;
|
||||
ProjectExplorer::BuildSystem *buildSystem() const;
|
||||
|
||||
private:
|
||||
enum CopyState {
|
||||
@@ -115,7 +115,7 @@ private:
|
||||
|
||||
void createAndroidManifestFile();
|
||||
void createAndroidTemplateFiles();
|
||||
ProjectExplorer::Target *m_target;
|
||||
ProjectExplorer::BuildSystem *m_buildSystem;
|
||||
QString m_buildKey;
|
||||
QString m_directory;
|
||||
CopyState m_copyState;
|
||||
|
||||
Reference in New Issue
Block a user