Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.4.1
-
None
Description
It would be nice to have a mapping file for Google's include what you use tool provided for each Qt release.
This is mostly needed because of Qt's forwarding header (you #include <QString> in your code, not #include <qstring.h>).
Some related bug report with proposed script are available in iwyu's bug tracker here:
- https://code.google.com/p/include-what-you-use/issues/detail?id=94&can=1&q=qt
- https://code.google.com/p/include-what-you-use/issues/detail?id=70&can=1&q=qt
However, it looks like syncqt would be able to generate the mapping file easily and it would keep the mapping file in sync with the Qt releases.
Maybe the mapping file could be used for QTCREATORBUG-2401 and QTCREATORBUG-21 too?
Attachments
Issue Links
- is duplicated by
-
QTBUG-103572 Generate include-what-you-use Qt6 imp file
- Closed
- relates to
-
QTQAINFRA-5007 Add include-what-you-use git mirror
- Reported
-
QTCREATORBUG-2401 Integrate include-what-you-use diagnostics to C++ editor
- Closed
-
QTCREATORBUG-21 Code completion (make it work without requiring includes?)
- Closed