bin/gbuild-to-ide |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 77d5383c6e83fdcb268138f71601fa39c95a62aa
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Sun Feb 7 14:28:51 2021 +0100
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Sun Feb 7 18:15:52 2021 +0100

    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.wegh...@posteo.de>

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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to