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

Annotations and CodeCompletion is wrong or not working

    XMLWordPrintable

Details

    • macOS
    • 5c3cb2439 (dev), 9cde1af71 (6.9), b254a8fcd (6.8)

    Description

      With the Change to QtC 14.0.2

      When you import a custom module the lsp doesn't seem to be able to resolve the namespace resulting in tons of `Type X is used but it is not resolved [unresolved-type]`

      and `Unqualified access: parent is a member of a parent element. You can qualify the access with its id to avoid this warning. [unqualified]` annotations.

      The code completion therefore doesn't work at all for those objects as well.

       

      Same is true for context properties set in the main.cpp 

       

      The file compiles/parses fine and is run without a problem, once the program is launched

       

      This used to work perfectly fine in 14.0.1

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-31823
          # Subject Branch Project Status CR V

          Activity

            People

              sami.shalayel Sami Shalayel
              jhilk Jonas Hilk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes