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

IDE omits headers from ClangCompilationDatabase projects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: Qt Creator 5.0.2
    • Fix Version/s: Qt Creator 6.0.0-beta2
    • Labels:
      None
    • Environment:
      Ubuntu 21.04
      Binary QtCreator 5.0.2 downloaded from qt.io
    • Platform/s:
      All
    • Commits:
      9f7cdd6d3cf2d72cfd385058422daebd256a12f0 (qt-creator/qt-creator/6.0)

      Description

      Qt Creator don't add headers to project structure when clang compilation database is used.

      I use custom build system that generate compile_commands.json and found support for it very useful in Qt Creator but working on project is very inconvenient if headers file aren't visible.

      Minimal project to reproduce this bug:

      header_test.tar.gz

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            a1batross Alibek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes