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

Unable to repair code model database

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.10.1
    • C/C++/Obj-C++ Support
    • None
    • CMake 3.15.4, Arch linux 5.3.5.
    • Linux/X11

    Description

      Opening a CMake project in QtCreator at "/a/b/c/d/".
      Moving the folder d to the following tree structure: "/a/b/d/".
      Following this, it is impossible to follow the symbols under the file cursor, because it tries to access the file previously at the position "/a/b/c/d/".
      When I look at the model code in Tools -> C++ -> Code Model, it still contains the old file location.

       

      I've tried to delete the build folder, close/reopen the project, etc...

      The only solution was deleting the QtProject directory under ~/.config,

      But I lost all of my preferences.

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            georgeduckman George Duckman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes