Details
-
Suggestion
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
Qt Creator 2.0.1
-
None
Description
I know that it's difficult to detect unused headers in C++, but for Qt classes it seem to be more straightforward. If QSomeClass is not used in source file, #include <QSomeClass> is not needed
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-147 Have a "fix includes" option which analyzes a cpp file and adds/removes the necessary #include files for the classes used
- Closed
- relates to
-
QTBUG-45489 iwyu mapping file for Qt
- Open