Reputation: 90766
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?
Upvotes: 6
Views: 10794
Reputation: 1
Maybe .cpp and .h files are not added properly in the command SOURCES and HEADERS of .pro file and the lists need to be aligned to the left with two tabs.
Upvotes: 0
Reputation: 90766
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++.
Upvotes: 5