forked from qt-creator/qt-creator
ProjectExplorer: (Re-)start using strings for mkspecs
Even if this is part of a directory name it is naturally closer to a "string" id than a file path. Change-Id: If66f930526744379ce86e2b18bd9eac7fabfe773 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -124,15 +124,14 @@ void QnxToolChain::addToEnvironment(Environment &env) const
|
||||
GccToolChain::addToEnvironment(env);
|
||||
}
|
||||
|
||||
FileNameList QnxToolChain::suggestedMkspecList() const
|
||||
QStringList QnxToolChain::suggestedMkspecList() const
|
||||
{
|
||||
FileNameList mkspecList;
|
||||
mkspecList << FileName::fromLatin1("qnx-armle-v7-qcc");
|
||||
mkspecList << FileName::fromLatin1("qnx-x86-qcc");
|
||||
mkspecList << FileName::fromLatin1("qnx-aarch64le-qcc");
|
||||
mkspecList << FileName::fromLatin1("qnx-x86-64-qcc");
|
||||
|
||||
return mkspecList;
|
||||
return {
|
||||
"qnx-armle-v7-qcc",
|
||||
"qnx-x86-qcc",
|
||||
"qnx-aarch64le-qcc",
|
||||
"qnx-x86-64-qcc"
|
||||
};
|
||||
}
|
||||
|
||||
QVariantMap QnxToolChain::toMap() const
|
||||
|
||||
Reference in New Issue
Block a user