forked from qt-creator/qt-creator
Use Utils::FileName in abi
Use FileName when passing in a file to extract ABIs from. Also convert some helper functions in baseqtversion to use FileNames in favor of normal strings. Change-Id: I41c724c4c05bb4ff0d8b832f84fffa08d64762d9 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -731,7 +731,7 @@ static DebuggerStartParameters localStartParameters(RunConfiguration *runConfigu
|
||||
sp.processArgs = rc->commandLineArguments();
|
||||
sp.toolChainAbi = rc->abi();
|
||||
if (!sp.toolChainAbi.isValid()) {
|
||||
QList<Abi> abis = Abi::abisOfBinary(sp.executable);
|
||||
QList<Abi> abis = Abi::abisOfBinary(Utils::FileName::fromString(sp.executable));
|
||||
if (!abis.isEmpty())
|
||||
sp.toolChainAbi = abis.at(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user