forked from qt-creator/qt-creator
Add toolchain autodetection based on config file
Add toolchains found in share/qtcreator/Nokia/toolChains.xml as autodetected.
This commit is contained in:
@@ -145,6 +145,11 @@ void ToolChain::setId(const QString &id)
|
||||
m_d->m_id = id;
|
||||
}
|
||||
|
||||
void ToolChain::setAutoDetected(bool autodetect)
|
||||
{
|
||||
m_d->m_autodetect = autodetect;
|
||||
}
|
||||
|
||||
bool ToolChain::fromMap(const QVariantMap &data)
|
||||
{
|
||||
Q_ASSERT(!isAutoDetected());
|
||||
|
||||
Reference in New Issue
Block a user