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. Qt Creator missing autocomplete when using clang
QtWS25 Last Chance

Qt Creator missing autocomplete when using clang

Scheduled Pinned Locked Moved Qt Creator and other tools
qtcreatorclangautocompletestl
1 Posts 1 Posters 979 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.
  • M Offline
    M Offline
    Marius_Linux
    wrote on 15 Jul 2015, 01:10 last edited by
    #1

    Hi, I've recently switched from GCC to Clang, on Fedora 22.
    But now I'm experiencing annoying problems with the autocomplete function of Qt Creator:
    When including STL heades, e.g.
    #include <algorithm>
    Qt Creator will underline this yellow, with a file not found message, when using Clang, but not when using GCC.
    So because of this, there is no autocompletion for members of the <algorithm> header, or any other STL header.
    However, compilation of the code works without errors, and Clang seems to ahve the correct include paths.

    Is there a way to fix this odd behaviour? I'd really prefer using Clang instead of GCC.
    Thanks in advance,
    Marius

    1 Reply Last reply
    0

    1/1

    15 Jul 2015, 01:10

    • Login

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