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

Cannot detect include directories with cmake project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.3.0, Qt Creator 4.4.0-rc1
    • ArchLinux gcc/clang

      QtCreator 4.3.0 (clang backend) and higher cannot detect our include directores for Qt and sometimes internal headers with a cmake project.

      Looks like the cmake server mode does not provide enough information or QtCreator does not ask everything it needs to know.

      You can try our project by yourself:
      https://github.com/Governikus/AusweisApp2/

      Maybe QtCreator does not add IMPORTED_TARGETS or includes for an INTERFACE?

      TARGET_INCLUDE_DIRECTORIES(${_name} INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>")

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

            hunger Tobias Hunger
            misery André Klitzing
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes