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 not working for Qt classes
Forum Updated to NodeBB v4.3 + New Features

Autocompletion not working for Qt classes

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 153 Views 1 Watching
  • 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.
  • O Offline
    O Offline
    ornello
    wrote on 13 Jan 2025, 18:53 last edited by
    #1

    I am experiencing that autocompletion is not working for Qt classes. For some classes it does, e.g. QDomDocument, but for most it does not. For example, autocompletion of basic types like QString and QFileInfo only suggests the following completions:

    • Data
    • operator =
    • ~QString
    • QString

    Autocompletion however works for my own classes.

    I have searched the forum for advice, but nothing helped me to fix the problem.

    I am using Qt Creator 14.0.2 and Qt 5.15.2.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      markuz
      wrote on 23 Jan 2025, 13:46 last edited by
      #2

      I have similar problems:
      autocompletion works with user defined classes, but not with Qt classes.
      Following some google search I have tried playing around with disabling and enabling the clang tools plugin. This did not change the autocompletion's behaviour.

      I remember that autocompletion worked very smoothly with Qt Creator 4, which I have been using for a very long time .
      I don't know exactly, when it stopped working.

      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