Commit 2fce6cf9 authored by Tobias Hunger's avatar Tobias Hunger

Maemo: Make sure MaemoToolChains can not get cloned

It makes no sense to clone these!

Task-number: QTCREATORBUG-4256
Reviewed-by: Christian Kandeler
parent ff9a03b1
......@@ -87,6 +87,11 @@ bool MaemoToolChain::isValid() const
return GccToolChain::isValid() && m_qtVersionId >= 0 && m_targetAbi.isValid();
}
bool MaemoToolChain::canClone() const
{
return false;
}
void MaemoToolChain::addToEnvironment(Utils::Environment &env) const
{
QtVersion *v = QtVersionManager::instance()->version(m_qtVersionId);
......
......@@ -55,6 +55,7 @@ public:
ProjectExplorer::Abi targetAbi() const;
bool isValid() const;
bool canClone() const;
void addToEnvironment(Utils::Environment &env) const;
QString sysroot() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment