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

Remove qpointer.h includes from public header [QtBase]

    XMLWordPrintable

Details

    • 3
    • 5a665bc47 (dev), 4a7c76d4a (dev), 787bb2ad7 (dev), 9194fc5ae (dev), 09169d4ef (dev), 92d4eacaa (dev), 495fd8ccd (dev), 2d6a9ac90 (dev), a90242983 (dev), 5d84fa8e9 (dev), 0740726c9 (dev), cbb51280c (dev), 3923a0f52 (dev), bf3355bd6 (dev), f5c6a5786 (dev)
    • Foundation Sprint 92, Foundation Sprint 93, Foundations Sprint 94

    Description

      The motivation for this task is to decrease compile time.

      At least qevent.h includes qpointer.h, but uses QPointer in-name-only. A forward declaration would suffice.

      qpointer.h drags in qsharedpointer.h, which ought to be rather heavy, even though this reporter has no measurements to substantiate that claim.

      In QtBase, only qfuture_impl.h also includes qpointer.h, so it seems that removing the qpointer.h include from a central header such as qevent.h might actually help to reduce compile times.

      Attachments

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

        Activity

          People

            mmutz Marc Mutz
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews