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. Autocompletion Does Not Work Reliably With g++ 9 and 10
Forum Update on Monday, May 27th 2025

Autocompletion Does Not Work Reliably With g++ 9 and 10

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
autocompletiongcc
3 Posts 2 Posters 562 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.
  • J Offline
    J Offline
    JoeC_58
    wrote on last edited by
    #1

    Re: Qt Creator completion stopped working

    My setup:
    Ubuntu 20.04, CMake 3.16.3, Qt Creator 4.11.0, Qt 5.12.8. I have gcc 8, 9 and 10 installed.

    I started with g++ 9 configured as my default compiler and noticed autocompletion worked for some class objects but not others. The simplest object which did not autocomplete was a string. My test code included:

    std::string str;
    str.   // <-  autocompletion popup expected after typing the period
    

    With kit configured to use compiler g++ 9 or 10, there was no popup. But with the g++ 8 compiler, I did get the popup

    JonBJ 1 Reply Last reply
    0
    • J JoeC_58

      Re: Qt Creator completion stopped working

      My setup:
      Ubuntu 20.04, CMake 3.16.3, Qt Creator 4.11.0, Qt 5.12.8. I have gcc 8, 9 and 10 installed.

      I started with g++ 9 configured as my default compiler and noticed autocompletion worked for some class objects but not others. The simplest object which did not autocomplete was a string. My test code included:

      std::string str;
      str.   // <-  autocompletion popup expected after typing the period
      

      With kit configured to use compiler g++ 9 or 10, there was no popup. But with the g++ 8 compiler, I did get the popup

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by
      #2

      @JoeC_58
      Do you use the (default?) clang module for your code completion?

      J 1 Reply Last reply
      0
      • JonBJ JonB

        @JoeC_58
        Do you use the (default?) clang module for your code completion?

        J Offline
        J Offline
        JoeC_58
        wrote on last edited by
        #3

        @JonB If you mean ClangCodeModel plugin, no. I deselected that.

        1 Reply Last reply
        1

        • Login

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