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. QtCreator : auto-complete doesn't work with class std::string
Qt 6.11 is out! See what's new in the release blog

QtCreator : auto-complete doesn't work with class std::string

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

    Hello everyone.
    What an annoying thing! I should not tell you how developers love auto-complete. Here I've installed QtCreator 4.0.0 from sources on my old Ubuntu 16.04. After some activity I suddenly found out that auto-complete doesn't work with standard C++ std::string: I type the string object name, the dot and then nothing happens.
    It completes other names from the std well and works as usual with many other standard classes like, for example, container classes, but refuses to work with std::string, and with std::stringstream too.
    Lately I've upgraded gcc from version 5 to 9 on this machine: it was after I installed QtCreator. Can the problem be caused by this upgrade?
    So, how can I fix it? I know you know everything!

    1 Reply Last reply
    0
    • H Offline
      H Offline
      HeyMaan
      wrote on last edited by
      #2

      So, I installed default QtCreator through apt, version 3.5.1. And its auto-complete works good, while 4.0.0 version's still doesn't work with std::string.

      I can use this version, but I still do not understand what's wrong with QtCreator 4.0.0 version which I've successfully built earlier from sources.

      By the way, I don't use ClangCodeModel in 4.0.0 version. It isn't even installed there.

      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