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

Create forward declaration headers for the Qt modules

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Other
    • None

    Description

      This allows us more leniency in the future, as we can change between class / struct / typedef / namespaced names without breaking too much code, provided the forward declaration headers are used instead of manually forward declaring. Also encourages people not to include too many headers, which should improve compilation times.

      Something like #include <QtGuiFwd> or #include <QtGuiForwardDeclarations> might be appropriate. The final naming needs to be decided.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            rodal Samuel Rødal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes