forked from qt-creator/qt-creator
CMake: Disable BC if there is an error during initial cmake run
* Disable the BC and give report the cmake error * Show a warning label in the BC Change-Id: If5737d033fa2682c264ab7ac1189c59947e3b28d Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QCheckBox;
|
||||
class QLabel;
|
||||
class QPushButton;
|
||||
class QTreeView;
|
||||
class QSortFilterProxyModel;
|
||||
@@ -52,6 +53,8 @@ class CMakeBuildSettingsWidget : public ProjectExplorer::NamedWidget
|
||||
public:
|
||||
CMakeBuildSettingsWidget(CMakeBuildConfiguration *bc);
|
||||
|
||||
void setError(const QString &message);
|
||||
|
||||
private:
|
||||
void updateButtonState();
|
||||
void updateAdvancedCheckBox();
|
||||
@@ -66,6 +69,8 @@ private:
|
||||
QCheckBox *m_showAdvancedCheckBox;
|
||||
QPushButton *m_reconfigureButton;
|
||||
QTimer m_showProgressTimer;
|
||||
QLabel *m_errorLabel;
|
||||
QLabel *m_errorMessageLabel;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user