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. Clang Code Model fail(file not found) when using custom complier
Forum Updated to NodeBB v4.3 + New Features

Clang Code Model fail(file not found) when using custom complier

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 210 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.
  • C Offline
    C Offline
    changnet
    wrote on last edited by
    #1

    My program need to use some linux api (like socketpair), I have to use GCC instead of MinGW64. So I try to use MSYS2 as complier and Qt Creator as editor.

    I manully add a build kit at the setting page, build succefully and the program runs just fine, but Qt Creator show header file not found, event the iostrem header.
    33.jpg 22.jpg 11.jpg

    I read the doc at https://doc.qt.io/qtcreator/creator-clang-codemodel.html but did not find a solution.

    Is there a way to setup custom code model path?

    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 Extensions
    • Unsolved