forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/5.0'
Conflicts: cmake/QtCreatorIDEBranding.cmake qbs/modules/qtc/qtc.qbs qtcreator_ide_branding.pri src/libs/utils/processreaper.cpp src/plugins/android/androidbuildapkstep.cpp src/plugins/cmakeprojectmanager/cmakeprocess.cpp Change-Id: I353a445b5862f63362ea954749b5565360951283
This commit is contained in:
@@ -188,7 +188,6 @@ bool AndroidDeployQtStep::init()
|
||||
m_manifestName = AndroidManager::manifestPath(target());
|
||||
|
||||
m_useAndroiddeployqt = version->qtVersion() >= QtSupport::QtVersionNumber(5, 4, 0);
|
||||
|
||||
if (m_useAndroiddeployqt) {
|
||||
const QString buildKey = target()->activeBuildKey();
|
||||
const ProjectNode *node = target()->project()->findNodeForBuildKey(buildKey);
|
||||
@@ -216,7 +215,7 @@ bool AndroidDeployQtStep::init()
|
||||
}
|
||||
m_command = m_command.pathAppended("androiddeployqt").withExecutableSuffix();
|
||||
|
||||
m_workingDirectory = bc->buildDirectory().pathAppended(Constants::ANDROID_BUILDDIRECTORY);
|
||||
m_workingDirectory = AndroidManager::androidBuildDirectory(target());
|
||||
|
||||
m_androiddeployqtArgs.addArgs({"--verbose",
|
||||
"--output", m_workingDirectory.toString(),
|
||||
@@ -237,7 +236,7 @@ bool AndroidDeployQtStep::init()
|
||||
m_uninstallPreviousPackageRun = true;
|
||||
m_command = AndroidConfigurations::currentConfig().adbToolPath();
|
||||
m_apkPath = AndroidManager::apkPath(target());
|
||||
m_workingDirectory = bc ? bc->buildDirectory() : FilePath();
|
||||
m_workingDirectory = bc ? AndroidManager::buildDirectory(target()): FilePath();
|
||||
}
|
||||
m_environment = bc ? bc->environment() : Utils::Environment();
|
||||
|
||||
@@ -444,9 +443,8 @@ bool AndroidDeployQtStep::runImpl()
|
||||
void AndroidDeployQtStep::gatherFilesToPull()
|
||||
{
|
||||
m_filesToPull.clear();
|
||||
BuildConfiguration *bc = target()->activeBuildConfiguration();
|
||||
QString buildDir = bc ? bc->buildDirectory().toString() : QString();
|
||||
if (bc && !buildDir.endsWith("/")) {
|
||||
QString buildDir = AndroidManager::buildDirectory(target()).toString();
|
||||
if (!buildDir.endsWith("/")) {
|
||||
buildDir += "/";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user