forked from qt-creator/qt-creator
QMakeProjectManager: Fix mkspec path for remote devices
Task-number: QTCREATORBUG-32325 Change-Id: I3169f56acb5e8e94004825cfe55e8614edb9d498 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -127,9 +127,10 @@ QString QMakeStep::allArguments(const QtVersion *v, ArgumentFlags flags) const
|
||||
}
|
||||
}
|
||||
}
|
||||
const QString specArg = mkspec();
|
||||
const FilePath specArg = FilePath::fromString(mkspec());
|
||||
QTC_CHECK(specArg.isSameDevice(v->qmakeFilePath()));
|
||||
if (!userProvidedMkspec && !specArg.isEmpty())
|
||||
arguments << "-spec" << QDir::toNativeSeparators(specArg);
|
||||
arguments << "-spec" << specArg.path();
|
||||
|
||||
// Find out what flags we pass on to qmake
|
||||
arguments << bc->configCommandLineArguments();
|
||||
|
Reference in New Issue
Block a user