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

Navigate to header in build dir instead of the source tree

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 17.0.2
    • C/C++/Obj-C++ Support
    • None
    • Linux/X11

      When I press F2 on a class name in a source which uses it QtC navigates me to the header file copied to <build dir>/include/header.h, not to the original one in the source tree. It is very annoying and leads to errors when I try to edit header copy which will be overwritten on the next build and not the original header. Also F4 on the header copy do not lead me back to the .cpp source file or wise versa: F4 from cpp goes to header in build dir, not original one. How to change this behavior? I have cmake project.

        1. multieffect.tar.gz
          7 kB
          Aleksey Kontsevich
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            alekseyka Aleksey Kontsevich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes