Commit 16628437 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

GCCE: Update version number when switching compiler

Task-number: QTCREATORBUG-4589
parent 1c977ea5
......@@ -75,7 +75,7 @@ public:
bool operator ==(const ToolChain &) const;
void setCompilerPath(const QString &);
virtual void setCompilerPath(const QString &);
QString compilerPath() const;
ToolChain *clone() const;
......
......@@ -132,6 +132,12 @@ QString GcceToolChain::defaultMakeTarget() const
return QLatin1String("gcce");
}
void GcceToolChain::setCompilerPath(const QString &path)
{
m_gcceVersion.clear();
GccToolChain::setCompilerPath(path);
}
ProjectExplorer::ToolChain *GcceToolChain::clone() const
{
return new GcceToolChain(*this);
......
......@@ -52,6 +52,8 @@ public:
QString makeCommand() const;
QString defaultMakeTarget() const;
void setCompilerPath(const QString &);
ProjectExplorer::ToolChain *clone() const;
private:
......
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