forked from qt-creator/qt-creator
CMakePM: Display CMake kit mismatch values in Settings page
updateFromKit() is now called on parsingFinished and the configuration values that differ from the ones in the Kit's CMake configuration will be displayed in red. The "Initial Configuration" page will display the mismatches between kit's CMake configuration and initial parameters. The "Current Configuration" page will display the mismatches between the initial parameters and the current CMake parameters. The Tooltip is displayed with a bit of more space between values for more readability. Change-Id: I6ebfa71951cf979ab08f097befed2d43b74e4d6e Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -353,6 +353,8 @@ CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeBuildConfiguration *bc)
|
||||
m_showProgressTimer.start();
|
||||
});
|
||||
|
||||
m_configModel->setMacroExpander(m_buildConfiguration->macroExpander());
|
||||
|
||||
if (bc->buildSystem()->isParsing())
|
||||
m_showProgressTimer.start();
|
||||
else {
|
||||
@@ -368,6 +370,7 @@ CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeBuildConfiguration *bc)
|
||||
m_configModel->setInitialParametersConfiguration(
|
||||
m_buildConfiguration->initialCMakeConfiguration());
|
||||
m_buildConfiguration->filterConfigArgumentsFromAdditionalCMakeArguments();
|
||||
updateFromKit();
|
||||
m_configView->expandAll();
|
||||
m_configView->setEnabled(true);
|
||||
stretcher->stretch();
|
||||
|
||||
Reference in New Issue
Block a user