Merge remote-tracking branch 'origin/5.0'

Change-Id: I7ca9791b95032a1f276c520f8eefde3801510eb9
This commit is contained in:
Orgad Shaneh
2021-09-24 17:01:29 +03:00
51 changed files with 1101 additions and 457 deletions

View File

@@ -25,6 +25,7 @@
#include "cmakespecificsettings.h"
#include <coreplugin/icore.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <utils/layoutbuilder.h>
@@ -36,6 +37,9 @@ namespace Internal {
CMakeSpecificSettings::CMakeSpecificSettings()
{
// TODO: fixup of QTCREATORBUG-26289 , remove in Qt Creator 7 or so
Core::ICore::settings()->remove("CMakeSpecificSettings/NinjaPath");
setSettingsGroup("CMakeSpecificSettings");
setAutoApply(false);
@@ -51,6 +55,9 @@ CMakeSpecificSettings::CMakeSpecificSettings()
registerAspect(&ninjaPath);
ninjaPath.setSettingsKey("NinjaPath");
// never save this to the settings:
ninjaPath.setToSettingsTransformation(
[](const QVariant &) { return QVariant::fromValue(QString()); });
registerAspect(&packageManagerAutoSetup);
packageManagerAutoSetup.setSettingsKey("PackageManagerAutoSetup");