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

Use external include guards to speed up compilation

    XMLWordPrintable

Details

    Description

      Use external include guards to speed up compilation, by this I mean doing something like:

      #ifndef QABSTRACTSLIDER_H
      #include <qabstractslider.h>
      #endif

      where we include files since it means that the file is not included just to do the internal check. This will save on compilation time for both Qt and for applications using Qt.

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes