diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-02-04 22:16:07 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-02-09 15:48:26 +0000 |
commit | 1734c4ee98e123154f523e3ef16a90b72801cabe (patch) | |
tree | c79123c13c0beea134beea883b2bc81c8821495c /src/gui/CMakeLists.txt | |
parent | e0c61193ea8f6462192d2ef7f1d48d8fa3e38c99 (diff) |
qaccessible: Split QAccessible into own header
qaccessible.h includes quite a few heavy headers. While QAccessibleEvent
and QAccessible can be forward declared, the enums in QAccessible
cannot. By moving QAccessible into its own lightweight header, we can
significantly reduce the cost of using the enums.
qaccessible.h still includes qaccessible_base.h, and the syncqt rules
are adjusted to ensure that this changes is source compatible.
Additionally, we no longer include cstdlib, as we only need cstring.
[ChangeLog][Potentially Source-Incompatible Changes] <QAccessible> no
longer includes <stdlib.h>. This might break code that relied on
transitive includes.
Task-number: QTBUG-97601
Change-Id: I15fbd9c85f5746885f9e89eabfc6d07b9bb1f968
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/gui/CMakeLists.txt')
-rw-r--r-- | src/gui/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 19b6332820..5513bff761 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -458,7 +458,7 @@ qt_internal_extend_target(Gui CONDITION QT_FEATURE_egl qt_internal_extend_target(Gui CONDITION QT_FEATURE_accessibility SOURCES - accessible/qaccessible.cpp accessible/qaccessible.h + accessible/qaccessible.cpp accessible/qaccessible.h accessible/qaccessible_base.h accessible/qaccessiblebridge.cpp accessible/qaccessiblebridge.h accessible/qaccessiblebridgeutils.cpp accessible/qaccessiblebridgeutils_p.h accessible/qaccessiblecache.cpp accessible/qaccessiblecache_p.h |