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

Use external include guards to speed up compilation

XMLWordPrintable

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes