Fix build with Qt <5.10

Authored by awilcox on Apr 20 2019, 9:52 AM.

Description

Fix build with Qt <5.10

Summary:
Qt::AA_CompressTabletEvents was added in Qt 5.10. Use preprocessor check
to avoid build failures on 5.9 LTS or 5.8 (the minimum version).

Test Plan: Build against Qt 5.9 LTS and 5.12 LTS. Both built successfully.

Subscribers: okular-devel

Tags: Okular

Differential Revision: https://phabricator.kde.org/D20678

Details

Committed
aacidApr 20 2019, 9:55 AM
Differential Revision
D20678: Ensure compatibility with Qt <5.10
Parents
R223:e01329eb4760: Fix build with poppler <0.58
Branches
Unknown
Tags
Unknown