Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-45489

iwyu mapping file for Qt

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.4.1
    • Build System
    • None

      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:

      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?

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtbuildsystem Qt Build System Team
            jeremie.delaitre Jérémie Delaitre
            Votes:
            20 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes