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

LanguageClient clangd unexpectedly finished when building application against B2Qt toolchain

    XMLWordPrintable

Details

    • 4329b67c7 (13.0)

    Description

      When building application against Boot2Qt toolchain General Messages shows error:

      LanguageClient clangd for quickapp: The command "docker://boot2qt-apalis-imx6:6.7.0/usr/bin/clangd --background-index --header-insertion=never --limit-results=100 --limit-references=0 --clang-tidy=0 --background-index-priority=low --rename-file-limit=0 --compile-commands-dir=/Users/qt/RTA/quickapp/build/Boot2Qt_6_7_0_Toradex_Apalis_iMX6-Debug/.qtc_clangd --use-dirty-headers" terminated with exit code 1. (see logs in "/private/var/folders/pf/qg5xnl1n68l9vlqxsp_5v6840000gn/T/QtCreator-VcCkPi/lspclient.bqWMGK.log")
      
      LanguageClient clangd for quickapp: Unexpectedly finished.
      
      LanguageClient clangd for quickapp: Cannot send data to unstarted server docker://boot2qt-apalis-imx6:6.7.0/usr/bin/clangd --background-index --header-insertion=never --limit-results=100 --limit-references=0 --clang-tidy=0 --background-index-priority=low --rename-file-limit=0 --compile-commands-dir=/Users/qt/RTA/quickapp/build/Boot2Qt_6_7_0_Toradex_Apalis_iMX6-Debug/.qtc_clangd --use-dirty-headers
      

      But the application gets built nonetheless and deployed to device.

      The log says:

       Starting server: docker://boot2qt-imx8qm-mek:6.7.0/usr/bin/clangd --background-index --header-insertion=never --limit-results=100 --limit-references=0 --clang-tidy=0 --background-index-priority=low --rename-file-limit=0 --compile-commands-dir=/Users/qt/RTA/quickapp/build/Boot2Qt_6_7_0_NXP_i_MX_8QuadMax_MEK-Debug/.qtc_clangd --use-dirty-headers
      
      Output: clangd: Unknown command line argument '--background-index-priority=low'.  Try: '/usr/bin/clangd --help'
      
      clangd: Did you mean '--background-index=low'?
      
      clangd: Unknown command line argument '--rename-file-limit=0'.  Try: '/usr/bin/clangd --help'
      
      clangd: Did you mean '--enable-config=0'?

      Attachments

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

        Activity

          People

            madwinter Marcus Tillmanns
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes