forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/9.0'
Conflicts: src/plugins/qmldesigner/components/componentcore/modelnodeoperations.cpp src/plugins/qmldesigner/components/stateseditornew/propertychangesmodel.cpp src/plugins/qmldesigner/components/stateseditornew/propertymodel.cpp src/plugins/qmldesigner/qmldesignerprojectmanager.cpp src/plugins/qmldesigner/qmldesignerprojectmanager.h Change-Id: Ib029a830ee99190bc4ea2ad75d9300bfa86b42d9
This commit is contained in:
@@ -470,10 +470,12 @@ FilePath AndroidConfig::adbToolPath() const
|
||||
|
||||
FilePath AndroidConfig::emulatorToolPath() const
|
||||
{
|
||||
QString relativePath = "emulator/emulator";
|
||||
if (sdkToolsVersion() < QVersionNumber(25, 3, 0) && preCmdlineSdkToolsInstalled())
|
||||
relativePath = "tools/emulator";
|
||||
return m_sdkLocation / (relativePath + QTC_HOST_EXE_SUFFIX);
|
||||
const FilePath emulatorFile = m_sdkLocation.pathAppended("emulator/emulator")
|
||||
.withExecutableSuffix();
|
||||
if (emulatorFile.exists())
|
||||
return emulatorFile;
|
||||
|
||||
return m_sdkLocation.pathAppended("tools/emulator").withExecutableSuffix();
|
||||
}
|
||||
|
||||
FilePath AndroidConfig::sdkManagerToolPath() const
|
||||
|
Reference in New Issue
Block a user