diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-02-07 14:28:51 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2021-02-07 18:15:52 +0100 |
commit | 77d5383c6e83fdcb268138f71601fa39c95a62aa (patch) | |
tree | cf2b8c1595bc43b47cbc00fa9e1d768b6d481f61 /bin/gbuild-to-ide | |
parent | e520b32a8ba59878fa15012505644ab903f53bbf (diff) |
qtcreator: Don't create useless run configurations for subdirs
Use the 'lib' instead of the 'app' template for the
qmake files in the subdirectories, which avoids
automatically creating a useless run configuration
for each subdirectory pointing to a non-existent
execuatable, like '<BUILDDIR>/accessibility/accessibility'
etc.
With this in place, I just get a single "Custom Executable"
run configuration running 'instdir/program/soffice.bin'
when opening the newly generated 'lo.pro' in Qt Creator 4.14.
Change-Id: I69a7f1b56b02849b217bf66f110d9ee1f61125ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110534
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'bin/gbuild-to-ide')
-rwxr-xr-x | bin/gbuild-to-ide | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index bba9a9896b8a..6abaf436e668 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -1847,7 +1847,7 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): self.log_close() - pro_template = """TEMPLATE = app + pro_template = """TEMPLATE = lib CONFIG += console CONFIG -= app_bundle CONFIG -= qt |