Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Code model finds header but editor does not
Qt 6.12 LTS is out! See what's new in the release blog

Code model finds header but editor does not

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
qtcreatorcode model
1 Posts 1 Posters 667 Views 1 Watching
  • 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.
  • F Offline
    F Offline
    ferdymercury
    wrote on last edited by
    #1

    I have a C++ CMake project that I open with QtCreator. When I open one file related to this project, but located outside the source code, it gives me a warning saying that the code model might have issues parsing the file. However, when I open the C++ CodeModel with CTRL-Shift-F12, it correctly finds all headers, see image below.

    5c3451de-ddb6-40ee-bfcb-4e0a365758df-image.png

    Does someone now why this happens?

    More info: https://root-forum.cern.ch/t/qt-creator-confusing-header-file-warnings/52398

    1 Reply Last reply
    0

    • Login

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