forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/3.6'
Change-Id: I4e1ec4054d7364057c63e63e293a246e64afdddb
This commit is contained in:
@@ -76,6 +76,14 @@ static QStringList qtSoPaths(QtSupport::BaseQtVersion *qtVersion)
|
||||
return paths.toList();
|
||||
}
|
||||
|
||||
static QStringList uniquePaths(const QStringList &files)
|
||||
{
|
||||
QSet<QString> paths;
|
||||
foreach (const QString &file, files)
|
||||
paths<<QFileInfo(file).absolutePath();
|
||||
return paths.toList();
|
||||
}
|
||||
|
||||
RunControl *AndroidDebugSupport::createDebugRunControl(AndroidRunConfiguration *runConfig, QString *errorMessage)
|
||||
{
|
||||
Target *target = runConfig->target();
|
||||
@@ -94,6 +102,7 @@ RunControl *AndroidDebugSupport::createDebugRunControl(AndroidRunConfiguration *
|
||||
params.solibSearchPath = AndroidManager::androidQtSupport(target)->soLibSearchPath(target);
|
||||
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(kit);
|
||||
params.solibSearchPath.append(qtSoPaths(version));
|
||||
params.solibSearchPath.append(uniquePaths(AndroidManager::androidQtSupport(target)->androidExtraLibs(target)));
|
||||
}
|
||||
if (aspect->useQmlDebugger()) {
|
||||
QTcpServer server;
|
||||
|
||||
Reference in New Issue
Block a user