qt6-bb10/src/platformsupport
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
..
devicediscovery src: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-10 23:36:51 +01:00
fbconvenience Fix link to platform window in QAndroidPlatformBackingStore::flush() 2023-08-04 10:40:05 +02:00
input Include what you need: <QPointer> 2023-10-12 21:38:54 +02:00
kmsconvenience kms: Print the screen virtual position in the logs 2023-09-25 15:12:05 +02:00
CMakeLists.txt src: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-10 23:36:51 +01:00