termux-packages/x11-packages/qt5-qtquickcontrols2/src-quicktemplates2-accessible-qaccessiblequickpage.cpp.patch

20 lines
415 B
Diff
Raw Normal View History

2022-03-18 18:02:30 +01:00
--- a/src/quicktemplates2/accessible/qaccessiblequickpage.cpp
+++ b/src/quicktemplates2/accessible/qaccessiblequickpage.cpp
@@ -39,6 +39,8 @@
QT_BEGIN_NAMESPACE
+#if QT_CONFIG(accessibility)
+
QAccessibleQuickPage::QAccessibleQuickPage(QQuickPage *page)
: QAccessibleQuickItem(page)
{
@@ -77,5 +79,7 @@
return static_cast<QQuickPage*>(object());
}
+#endif // accessibility
+
QT_END_NAMESPACE