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

Duplicates include paths can cause duplicated #include entries in code completion

    XMLWordPrintable

Details

    • Windows
    • 58e633a8a45f2ab50581114f39d0e1b5827a3252 (qt-creator/qt-creator/master)

    Description

      A build system can under some instances add duplicate include paths with different non-canonical variations. For example instead of adding /foo once, it adds /foo/bar1/.. /foo/bar2/.. /foo/bar3/.., etc.
      The CMake-based build system for Qt Creator did that for the libs/ and plugins/ paths. See QTCREATORBUG-24514

      In that case, the code model has the same list of duplicated paths and the code completion shows multiple (seemingly identical) paths when completing an #include.

      To reproduce this, it is best to revert the fix for QTCREATORBUG-24514

      Attachments

        Issue Links

          Activity

            People

              kandeler Christian Kandeler
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: