forked from qt-creator/qt-creator
Prevent QNX tool chain demotion
Change-Id: Ia355cf80131e36e806781665c4926769a1b144f8 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "qnxtoolchain.h"
|
||||
#include "qnxconfiguration.h"
|
||||
#include "qnxconfigurationmanager.h"
|
||||
#include "qnxconstants.h"
|
||||
#include "qnxutils.h"
|
||||
|
||||
@@ -160,6 +162,17 @@ QnxToolChainFactory::QnxToolChainFactory()
|
||||
setDisplayName(tr("QCC"));
|
||||
}
|
||||
|
||||
QList<ProjectExplorer::ToolChain *> QnxToolChainFactory::autoDetect(
|
||||
const QList<ProjectExplorer::ToolChain *> &alreadyKnown)
|
||||
{
|
||||
QList<ToolChain *> tcs;
|
||||
QList<QnxConfiguration *> configurations =
|
||||
QnxConfigurationManager::instance()->configurations();
|
||||
foreach (QnxConfiguration *configuration, configurations)
|
||||
tcs += configuration->autoDetect(alreadyKnown);
|
||||
return tcs;
|
||||
}
|
||||
|
||||
QSet<ToolChain::Language> QnxToolChainFactory::supportedLanguages() const
|
||||
{
|
||||
return { ProjectExplorer::ToolChain::Language::Cxx };
|
||||
|
||||
Reference in New Issue
Block a user