summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2021-02-07 14:28:51 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2021-02-07 18:15:52 +0100
commit77d5383c6e83fdcb268138f71601fa39c95a62aa (patch)
treecf2b8c1595bc43b47cbc00fa9e1d768b6d481f61 /bin
parente520b32a8ba59878fa15012505644ab903f53bbf (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')
-rwxr-xr-xbin/gbuild-to-ide2
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