diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-02-07 14:48:12 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2021-02-07 18:16:31 +0100 |
commit | fdd9b20572435842bde076e3c35ef94d26f13b30 (patch) | |
tree | c4993f705ad5d2b4111388c48dbfcfcb049d22a1 /bin | |
parent | 77d5383c6e83fdcb268138f71601fa39c95a62aa (diff) |
qtcreator: Drop some extra whitespace in .pro.user template
Fix indentation and drop some extra empty lines that are
automatically removed once the project is loaded in
Qt Creator and then closed anyway.
This will make it a little easier to compare what the initially
generated file looks like compared to the one as it is written
after (implicitly or explicitly) carrying out the configuration
in Qt Creator after loading the project.
Change-Id: I52173162efe635e6fb3e7f889c42ed67271c05b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110535
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gbuild-to-ide | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index 6abaf436e668..7c6176233701 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -1387,11 +1387,9 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): # By default, QtCreator creates 2 BuildStepList : "Build" et "Clean" # but the "clean" can be empty. build_configs_template = """ - <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.%(index)s"> + <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.%(index)s"> <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">%(base_folder)s</value> - <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> - <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> @@ -1405,13 +1403,11 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">%(arg)s</value> <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> </valuemap> - <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> </valuemap> - <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |