Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33331

Qtcreator starts second clangd process with --header-insertion=iwyu regardless of settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 17.0.0
    • C/C++/Obj-C++ Support
    • None
    • Linux/X11

      Hello, 

      I've disabled "Insert header files on completion", but qtcreator still starts a second clangd process that uses {{ --header-insertion=iwyu}} like 

       

      /usr/bin/qtcreator
      \_ /usr/lib/llvm/20/bin/clangd --background-index --header-insertion=never ...
      \_ /usr/lib/llvm/20/bin/clangd --background-index --header-insertion=iwyu ...

      With that headers get automatically included all the time. I've disabled the feature because in the project, I'm working on (mesa3D) the headers are usually wrong all the time resulting in compile errors. 

      Thanks for the otherwise great tool. 

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            gewo Gert Wollny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes