Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autocompletion in Qt Creator is not working

Autocompletion in my installation of Qt Creator is not longer working. I have "Activate Completion" set to "Always" however it doesn't work, even when I press Control + Space.

It used to work fine though, so I don't know why it suddenly stopped. Does anybody know what could be the reason?

like image 394
laurent Avatar asked Jul 19 '11 09:07

laurent


People also ask

Is Qt Creator still free?

Is Qt Creator free? There is an open-source license which is free and a commercial license. The commercial license (Qt creator and Qt SDK) starts at $459/month.

Is Qtcreator an IDE?

Qt Creator is a cross-platform integrated development environment (IDE) built for the maximum developer experience. Qt Creator runs on Windows, Linux, and macOS desktop operating systems and allows developers to create software across desktop, mobile, and embedded platforms.

What compiler does Qt Creator use?

Qt Creator uses the C++ compiler from the GNU Compiler Collection on Linux. On Windows it can use MinGW or MSVC with the default install and can also use Microsoft Console Debugger when compiled from source code. Clang is also supported.


1 Answers

Ok I found what the issue was. This is because I started using precompiled headers which means many classes are now in stable.h and apparently not found by the editor. I fixed the issue by adding #include "stable.h" in all the files, like in VC++.

like image 144
laurent Avatar answered Sep 29 '22 05:09

laurent