Add checks for QT_NO_ACCESSIBILITY to prevent build issues with Qt without accessibility

This commit is contained in:
kb1000
2019-10-01 14:28:06 +02:00
parent ce7917048a
commit dec6759e61
5 changed files with 13 additions and 0 deletions

View File

@@ -6,6 +6,8 @@
#include <qaccessible.h>
#include <qheaderview.h>
#ifndef QT_NO_ACCESSIBILITY
QAccessibleInterface *groupViewAccessibleFactory(const QString &classname, QObject *object)
{
QAccessibleInterface *iface = 0;
@@ -772,3 +774,5 @@ QAccessibleInterface *AccessibleGroupViewItem::child(int) const
{
return 0;
}
#endif /* !QT_NO_ACCESSIBILITY */