Add toolchain autodetection based on config file

Add toolchains found in share/qtcreator/Nokia/toolChains.xml as
autodetected.
This commit is contained in:
Tobias Hunger
2011-03-01 16:34:02 +01:00
parent 5daa732e31
commit 9b465749f0
4 changed files with 59 additions and 37 deletions

View File

@@ -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());