forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.10'
Conflicts:
src/libs/utils/consoleprocess.h
src/libs/utils/consoleprocess_unix.cpp
src/libs/utils/consoleprocess_win.cpp
src/plugins/projectexplorer/devicesupport/sshdeviceprocess.cpp
src/tools/clangrefactoringbackend/source/symbolscollector.cpp
tests/unit/mockup/projectexplorer/project.h
Change-Id: I8d10f26b9bcb54829ba31cdc2272885691df1e16
This commit is contained in:
@@ -410,9 +410,6 @@ QString QbsProductNode::buildKey() const
|
||||
|
||||
QVariant QbsProductNode::data(Core::Id role) const
|
||||
{
|
||||
// if (role == Android::Constants::AndroidExtraLibs)
|
||||
// return value("ANDROID_EXTRA_LIBS");
|
||||
|
||||
if (role == Android::Constants::AndroidDeploySettingsFile) {
|
||||
for (const auto &artifact : m_qbsProductData.generatedArtifacts()) {
|
||||
if (artifact.fileTags().contains("qt_androiddeployqt_input"))
|
||||
@@ -426,11 +423,9 @@ QVariant QbsProductNode::data(Core::Id role) const
|
||||
for (const auto &artifact : m_qbsProductData.generatedArtifacts()) {
|
||||
if (artifact.fileTags().contains("dynamiclibrary")) {
|
||||
ret << QFileInfo(artifact.filePath()).path();
|
||||
qDebug() << artifact.properties().toString();
|
||||
}
|
||||
}
|
||||
ret.removeDuplicates();
|
||||
qDebug() << ret;
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -442,16 +437,8 @@ QVariant QbsProductNode::data(Core::Id role) const
|
||||
return {};
|
||||
}
|
||||
|
||||
if (role == Android::Constants::AndroidApk) {
|
||||
// qDebug() << m_qbsProductData.name() << m_qbsProductData.targetExecutable() << m_qbsProductData.properties();
|
||||
// for (const auto &artifact : m_qbsProductData.installableArtifacts()) {
|
||||
// qDebug() << artifact.fileTags() << artifact.filePath();
|
||||
// }
|
||||
// for (const auto &artifact : m_qbsProductData.generatedArtifacts()) {
|
||||
// qDebug() << artifact.fileTags() << artifact.filePath();
|
||||
// }
|
||||
if (role == Android::Constants::AndroidApk)
|
||||
return m_qbsProductData.targetExecutable();
|
||||
}
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user