summaryrefslogtreecommitdiff
path: root/src/plugins/qtsupport/qtoptionspage.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2011-06-30 10:50:39 +0200
committerDaniel Teske <daniel.teske@nokia.com>2011-06-30 12:47:04 +0200
commitb90be2b5bf8b474dbcd46fc97f8b75501a5ab088 (patch)
treea2b580c2461ef624c3de6d660823165c9afaf6ec /src/plugins/qtsupport/qtoptionspage.h
parent9e5bcf2f4bfcfd4335f7478865dea66822cd2277 (diff)
downloadqt-creator-b90be2b5bf8b474dbcd46fc97f8b75501a5ab088.tar.gz
Alert the user that he might be missing a toolchain
Change-Id: I2c9e3f9eab962b8310f21f9fe5fc392d88089c7f Task-Nr: QTCREATORBUG-5248 Reviewed-on: http://codereview.qt.nokia.com/886 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/qtsupport/qtoptionspage.h')
-rw-r--r--src/plugins/qtsupport/qtoptionspage.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/qtsupport/qtoptionspage.h b/src/plugins/qtsupport/qtoptionspage.h
index df89b2c79c..64bc3ba08c 100644
--- a/src/plugins/qtsupport/qtoptionspage.h
+++ b/src/plugins/qtsupport/qtoptionspage.h
@@ -88,6 +88,7 @@ private:
QList<BaseQtVersion *> m_versions;
int m_defaultVersion;
QIcon m_invalidVersionIcon;
+ QIcon m_warningVersionIcon;
QIcon m_validVersionIcon;
QtConfigWidget *m_configurationWidget;
@@ -108,8 +109,17 @@ private slots:
void slotShowDebuggingBuildLog();
void debuggingHelperBuildFinished(int qtVersionId, const QString &output, DebuggingHelperBuildTask::Tools tools);
void cleanUpQtVersions();
+ void toolChainsUpdated();
void qtVersionsDumpUpdated(const QString &qmakeCommand);
+
+private:
+ struct ValidityInfo {
+ QString message;
+ QString toolTip;
+ QIcon icon;
+ };
+ ValidityInfo validInformation(const BaseQtVersion *version);
};
class QtOptionsPage : public Core::IOptionsPage