forked from qt-creator/qt-creator
Android: Simplify clangPlusPlusPath in toolchain
Change-Id: I195cc3657813a681a625567116c91fd1bdc463cc Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -173,9 +173,7 @@ AndroidToolChainFactory::AndroidToolChainFactory()
|
|||||||
|
|
||||||
static FilePath clangPlusPlusPath(const FilePath &clangPath)
|
static FilePath clangPlusPlusPath(const FilePath &clangPath)
|
||||||
{
|
{
|
||||||
return clangPath.parentDir().pathAppended(
|
return clangPath.parentDir().pathAppended(clangPath.baseName() + "++").withExecutableSuffix();
|
||||||
HostOsInfo::withExecutableSuffix(
|
|
||||||
QFileInfo(clangPath.toString()).baseName() + "++"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static QList<FilePath> uniqueNdksForCurrentQtVersions()
|
static QList<FilePath> uniqueNdksForCurrentQtVersions()
|
||||||
|
Reference in New Issue
Block a user