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

Follow symbol under cursor opens the qml file located in build directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 14.0.2
    • Quick / QML Support
    • None
    • Gnome/Wayland
    • Linux/Wayland

    Description

      I've been waiting awhile, but this behavior is really annoying. When you click on 'Follow symbol under cursor' with a custom QML component, Qt Creator opens the qml file in the build directory (that is, build/Desktop_Qt_6_8_0-Debug) instead of the one from the source code.

      I think this behavior started with Qt Creator 14.

      Steps to reproduce:
      1- Locate a custom QML component.
      2- Right click on it, then 'Follow symbol under cursor' or F2.
      3- Now notice in open documents the file is located in your build directory

      Tested on Manjaro Linux and Qt Creator 14

      Attachments

        1. screenshot-1.png
          6 kB
          Sami Shalayel
        2. screenshot-2.png
          20 kB
          Daniel Victoriano

        Issue Links

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

          Activity

            People

              sami.shalayel Sami Shalayel
              daniel_victoriano Daniel Victoriano
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes