Qt 6.11 is out! See what's new in the release
blog
Qt Creator - generation of required includes in sources?
Qt Creator and other tools
4
Posts
2
Posters
1.2k
Views
1
Watching
-
HI all!
Is there a feature for automatic includes management?
I mean to add required (or remove redundant) headers' include directives to my source file?It's rather annoying to add #include <Q.....> for every class I start to use.
And it's almost impossible to track which I don't use anymore.Thanks.
-
It's planned, but not implemented yet.
-
As for "it’s almost impossible to track which I don’t use anymore", you can simply use Qt Creator's Find tool (Ctrl+F) and serach the header and source file for the given class name.