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

iwyu mapping file for Qt

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 5.4.1
    • Build System
    • 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:

      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

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes