Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Problem with QTCreator 13 and Clangd
Forum Updated to NodeBB v4.3 + New Features

Problem with QTCreator 13 and Clangd

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 506 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bernadsz
    wrote on last edited by
    #1

    I have installed Qt Creator [13.0.0 Based on Qt 6.4.2 (GCC 13.2.0, x86_64)] on Ubuntu 24 from apt install qtcreator.

    Now the first problem is, clangd could not index my project properly. After trying many things, I gave up and used Bear to create a compile_commands.json from my bear -- make, and replaced the one inside .qtc_clangd/ so that at least I get all the highlights and etc correctly.

    There are still two main problems:

    1. Every time I restart the QTCreator, the old compile_commands.json is restored and I have to copy the new one again. Is there any way to avoid this?
    2. If I now right-click on Find References to Symbol Under Cursor it only finds whatever is on the same folder, but doesn't look globally. It is probably related to 1 of course.

    It would be very nice to get some help! :)

    1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved