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

[Reg 5->6] Follow symbol opens unclean path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 6.0.0-rc1
    • Fix Version/s: Qt Creator 6.0.0
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      76d3ffa57a525b53ccfa16c7204a7848ce36a13a (qt-creator/qt-creator/6.0)

      Description

      I downloaded the Qt 6.2.1 combined tar ball, extracted that and opened the toplevel CMakeLists.txt in Qt Creator.

      Configuration succeeded and C++ indexing went through.

      I then opened qformlayout.h put the cursor on QLayout (in "class QFormLayout : public QLayout") and did Follow Symbol Under Cursor.

      That opened the header file with a relative path within the build directory "<qt>/build.../qtbase/include/QtWidgets/../../../../qt-everywhere-src-6.2.1/qtbase/src/widgets/kernel/qlayout.h

      That results in the file not being considered "part of the project" (because the path is not cleaned and therefore not considered to be the same as the file in the project).

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes