diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-02-24 09:51:16 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2021-02-24 17:44:50 +0100 |
commit | e827cb144ee9886134a946c7a3b316f9eeb83168 (patch) | |
tree | 44dcd483a7bd808f2095000bb80842419dc31263 /.gitignore | |
parent | 61c2fb9a189254df4bc609ca248c922984c47565 (diff) |
qtcreator: Create *.pro.shared files instead of *.pro.user
Generating *.pro.user files is not ideal; they're
supposed to hold user-specific settings for a project,
and thus also to persist manual changes made by the user
after initial import of the project.
Generate *.pro.shared files instead which are
meant to be used to share project settings. [1]
This just changes the file name of the generated
file for now, but leaves the content the same.
The result for the initial loading of the project from
a '*.pro' file is basically still the same from a user
perspective:
A new kit 'Replacement for "Desktop"' is generated on
the fly which contains the build and run settings
specified in the corresponding '*.pro.shared' file.
By using the '*.pro.shared' files, user-specific settings
made after initial import will no longer
be overwritten by running 'make qtcreator-ide-integration'
again, since the '*.pro.user' files are left as they are.
The '*.pro.shared' files generated here still contain
information specific to the local setup (like file paths).
For some more background on LO's Qt Creator IDE integration,
s. dev mailing list thread "Added some information about
Qt Creator IDE integration to the wiki" [2].
[1] https://doc.qt.io/qtcreator/creator-sharing-project-settings.html
[2] https://lists.freedesktop.org/archives/libreoffice/2021-February/thread.html#86800
Change-Id: Ia187bcbffe5297a1cdf6bfeaaabf7867003195e0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111474
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index dea264a366fa..d89e5b12035f 100644 --- a/.gitignore +++ b/.gitignore @@ -142,6 +142,7 @@ LibreOffice.VC.VC.opendb # QtCreator specific *.pro +*.pro.shared *.pro.user *.pro.user.* |