diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-04-09 16:53:29 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-05-14 00:32:37 +0200 |
commit | c9e62c24440e99ace02dcceffea2ae6542f49224 (patch) | |
tree | 041f1c3b7a8caf64562e86adb83334b64b925b7d /src/gui | |
parent | 010952a55ee9ca9731f8ad15f2773d0bae645840 (diff) |
a11y atspi: Include atspi.h instead of atspi-constants.h
The atspi.h header includes atspi-constants.h and other
libatspi headers.
Include the former here instead of manually including the latter,
in order to also implicitly include atspi-version.h added in
libatspi 2.50 commit [1]:
commit 927344a34cd5bf81fc64da4968241735ecb4f03b
Author: Mike Gorse <mgorse@suse.com>
Date: Thu Jul 20 15:02:03 2023 -0500
Add atspi_get_version() to return the runtime version of the AT-SPI library
Also adds ATSPI_MAJOR_VERSION, ATSPI_MINOR_VERSION, and ATSPI_MICRO_VERSION.
Fixes #129
This is in order to be able to use the new version defines for version-
specific code in upcoming commits.
[1] https://gitlab.gnome.org/GNOME/at-spi2-core/-/commit/927344a34cd5bf81fc64da4968241735ecb4f03b
Task-number: QTBUG-75003
Change-Id: If2d21c7dcff291c93fed2aa0d7c8f7acd7fae77d
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/accessible/linux/atspiadaptor_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/accessible/linux/atspiadaptor_p.h b/src/gui/accessible/linux/atspiadaptor_p.h index 3a890f3d7d..c2f9b60ebf 100644 --- a/src/gui/accessible/linux/atspiadaptor_p.h +++ b/src/gui/accessible/linux/atspiadaptor_p.h @@ -16,7 +16,7 @@ // We mean it. // -#include <atspi/atspi-constants.h> +#include <atspi/atspi.h> #include <QtGui/private/qtguiglobal_p.h> #include <QtDBus/qdbusvirtualobject.h> |