Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. C++11 STL code completion and highlighting in QtCreator

C++11 STL code completion and highlighting in QtCreator

Scheduled Pinned Locked Moved General and Desktop
c++11stlqtcreator
3 Posts 2 Posters 2.3k 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.
  • D Offline
    D Offline
    Daylight
    wrote on last edited by
    #1

    I have noticed that completion and highlighting do not work on some parts of STL in QtCreator 3.3.0. For example std::unordered map and std::unordered_set are compiled but code completion does not work. Adding

    CONFIG += C++11 C++14
    

    to .project does not help.

    Is there any way to fix this?

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Works for me. Which OS and compiler are you on?

      D 1 Reply Last reply
      0
      • Chris KawaC Chris Kawa

        Works for me. Which OS and compiler are you on?

        D Offline
        D Offline
        Daylight
        wrote on last edited by Daylight
        #3

        @Chris-Kawa Ubuntu 14.04 x64, gcc 4.9.2
        UPD: if I set clang as code completion tool - everything works, but slow.

        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