Details
-
Task
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
None
-
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.