qt6-bb10/src/printsupport
Marc Mutz 4a7c76d4a5 Include what you need: <QPointer>
All these TUs relied on transitive includes of qpointer.h, maybe to a
large extent via qevent.h, though, given that qevent.h is more or less
the only public QtBase header that includes qpointer.h, something else
seems to be at play here.

Said qevent.h actually needs QPointer in-name-only, so a forward
declaration would suffice. Prepare for qevent.h dropping the include.

The algorithm I used was:

If the TU mentions 'passiveGrabbers', the name of the QEvent function
that returns QPointers, and the TU doesn't have qpointer.h included
explicitly, include it. That may produce False Positives, but better
safe than sorry. Otherwise, in src/, add an include to all source and
header files which mention QPointer. Exception: if foo.h of a foo.cpp
already includes it, don't include again.

Task-number: QTBUG-117670
Change-Id: I3321cccdb41ce0ba6d8a709cea92427aba398254
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2023-10-12 21:38:54 +02:00
..
dialogs Include what you need: <QPointer> 2023-10-12 21:38:54 +02:00
doc Doc: Fix warnings and linking issues 2023-10-09 17:24:07 +00:00
kernel printsupport: use string view types more 2023-09-12 02:00:03 +03:00
platform qprintengine_mac: use const methods more 2023-09-25 17:17:57 +03:00
widgets QtWidgets: Fix errors about fields from anonymous namespaces (-Werror=subobject-linkage) 2023-02-01 19:12:36 +01:00
CMakeLists.txt Enable QT_NO_CONTEXTLESS_CONNECT for most of QtBase 2023-07-11 22:44:29 +02:00
configure.cmake Fix build with -no-feature-lineedit 2023-03-04 09:45:21 +00:00
qt_cmdline.cmake CMake: Re-implement configure/qmake's command line handling in CMake 2020-08-17 08:08:20 +02:00