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

Compiler options including spaces break clang code model on CMake projects

    XMLWordPrintable

Details

    • Windows

    Description

      When using compiler options with a space between the option and its argument, clang code model breaks (see screenshots about code model details).

      Code highlighting also stops working, and code navigation with Ctrl+Click is partially broken on bigger projects.

      The root problem seems to be the fact that toolkit defines are somehow lost when using compiler options with spaces, and Qt Creator doesn't infer the right C++ version for the project anymore.

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            alessandro.ambrosano Alessandro Ambrosano
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes