forked from qt-creator/qt-creator
Android: Set ANDROID_EXTRA_LIBS scoped to the arch
The workflow for adding a library for multiple archs is not ideal, but now a little better. The user has to go to the deploy setting for a kit per architecture and add the right extra library. Change-Id: I2bda6961f6f1164bdc58acd78fa3d2221977f0cf Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
@@ -1214,7 +1214,7 @@ void QmakePriFileNode::changeFiles(const QString &mimeType,
|
||||
includeFile->deref();
|
||||
}
|
||||
|
||||
bool QmakePriFileNode::setProVariable(const QString &var, const QString &value)
|
||||
bool QmakePriFileNode::setProVariable(const QString &var, const QStringList &values, const QString &scope, int flags)
|
||||
{
|
||||
if (!ensureWriteableProFile(m_projectFilePath))
|
||||
return false;
|
||||
@@ -1223,8 +1223,9 @@ bool QmakePriFileNode::setProVariable(const QString &var, const QString &value)
|
||||
ProFile *includeFile = pair.first;
|
||||
QStringList lines = pair.second;
|
||||
|
||||
ProWriter::putVarValues(includeFile, &lines, QStringList(value), var,
|
||||
ProWriter::ReplaceValues | ProWriter::OneLine | ProWriter::AssignOperator);
|
||||
ProWriter::putVarValues(includeFile, &lines, values, var,
|
||||
ProWriter::PutFlags(flags),
|
||||
scope);
|
||||
|
||||
if (!includeFile)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user