[Libreoffice-commits] core.git: bin/gbuild-to-ide

Michael Weghorn (via logerrit) logerrit at kemper.freedesktop.org
Sun Feb 7 17:17:18 UTC 2021


 bin/gbuild-to-ide |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit fdd9b20572435842bde076e3c35ef94d26f13b30
Author:     Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Sun Feb 7 14:48:12 2021 +0100
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Sun Feb 7 18:16:31 2021 +0100

    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 at posteo.de>

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"/>


More information about the Libreoffice-commits mailing list