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. How to customize code completion for C++ in QtCreator?
QtWS25 Last Chance

How to customize code completion for C++ in QtCreator?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 544 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
    Dmitriy Blahodatnyi
    wrote on last edited by
    #1

    I had tried to customize QtCreator in such way that it could propose functions, variables and other benefits after typing a point before I came here. I think it simply does not see headers such as iostream, sstream, but code completion for QHeaders does work. How to fix that problem?

    1 Reply Last reply
    0
    • J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      Do you know that there is such a function in QtCreator already? the usuall Key-Combination is ctrl + spacebar?

      For other classes that you include, you usually have to add the namespace beforehand to access/show the functions. NameSpace:: ctrl + spacebar or use using namespace NameSpace if you don't want to type them everytime you use them.


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      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