From 7862a1a825b4e08485db0f4297cb387e8b5470df Mon Sep 17 00:00:00 2001
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Date: Mon, 8 Dec 2014 16:42:42 +0000
Subject: [PATCH] pinentry-qt4: make the accessibility part optional
Check if the Qt libraries have support for QT Accessibility before using
it. Otherwise it will raise error like these one:
main.cpp: In function 'int qt_cmd_handler(pinentry_t)':
main.cpp:220:51: error: 'class QAbstractButton' has no member named
'setAccessibleDescription'
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
qt4/main.cpp | 3 ++-
qt4/pinentryconfirm.cpp | 2 ++
qt4/pinentrydialog.cpp | 10 ++++++++++
3 files changed, 14 insertions(+), 1 deletions(-)
1.7.1