summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/gcctoolchain.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2011-12-19 12:06:44 +0100
committerTobias Hunger <tobias.hunger@nokia.com>2012-01-30 12:25:40 +0100
commit52b47364de371f2797c597c747c1bc10ad371c1d (patch)
treebc19e0fdf7282c829b0a37b18ec286806a476fde /src/plugins/projectexplorer/gcctoolchain.h
parent97496df1bf889c69f686edf707ba71a226064067 (diff)
downloadqt-creator-52b47364de371f2797c597c747c1bc10ad371c1d.tar.gz
Use QUuids to identify tool chains
Save/Restore has been updated to reflect this: We now save manual as well as auto-detected tool chains into the user toolChains.xml file. When loading we load the SDK as well as the user toolChains.xml files. We then do a autodetection run. All the tool chains restored that are marked up as auto-detected are then checked again: * the tool chain was autodetected again: Throw away the newly auto- detected tool chain and reuse the saved one. This makes sure we keep the QUuid that is now part of the tool chains id. * the tool chain was not autodetected again: Throw away the saved tool chain. * the tool chain was newly autodetected: Add the new tool chain We keep the old id around in the legacyId() method. It is used when loading old .user files only. So there is no need to implement this method for new tool chains. Task-number: QTCREATORBUG-6702 Change-Id: Ifc0a216e5351a8a57db03615ba329e355e7d5f59 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/gcctoolchain.h')
-rw-r--r--src/plugins/projectexplorer/gcctoolchain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/gcctoolchain.h b/src/plugins/projectexplorer/gcctoolchain.h
index b39c71f23d..7e11bed0ea 100644
--- a/src/plugins/projectexplorer/gcctoolchain.h
+++ b/src/plugins/projectexplorer/gcctoolchain.h
@@ -54,6 +54,8 @@ class LinuxIccToolChainFactory;
class PROJECTEXPLORER_EXPORT GccToolChain : public ToolChain
{
public:
+ QString legacyId() const;
+
QString typeName() const;
Abi targetAbi() const;
QString version() const;
@@ -89,8 +91,6 @@ protected:
QString defaultDisplayName() const;
- void updateId();
-
virtual QList<Abi> detectSupportedAbis() const;
virtual QString detectVersion() const;