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

clang code model can't find libc++ stdlib headers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.14.1
    • None
    • Linux/Wayland, Linux/X11, Linux/Other display system

    Description

      Install clang++ and libc++ on linux. For Fedora Linux, run "dnf install clang libcxx-devel".

      Configure the attached project sample project to build with clang++.

      cmake -DCMAKE_CXX_COMPILER=clang++ .

      Import the build with QtCreator.

      Open qtcreator_stdlib_bug.cpp, clang code model can't find standard library header files.

      Attachments

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

        Activity

          People

            abrahm Abrahm Scully
            abrahm Abrahm Scully
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes