add support for Qt5 and poppler-qt5 backend