From b42a07d9825aa4241e2ea77edda8ac049e67bab4 Mon Sep 17 00:00:00 2001 From: Ashish Kulkarni Date: Mon, 20 Oct 2014 11:38:23 +0530 Subject: [PATCH] fix build failure with unpatched Qt >= 5.3 This was originally reported as https://bugs.debian.org/763216 --- common.pri | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common.pri b/common.pri index d11e707..ef78ecb 100644 --- a/common.pri +++ b/common.pri @@ -43,7 +43,10 @@ win32: CONFIG += console win32-g++*: QMAKE_LFLAGS += -static -static-libgcc -static-libstdc++ QT += webkit network xmlpatterns svg -greaterThan(QT_MAJOR_VERSION, 4): QT += webkitwidgets +greaterThan(QT_MAJOR_VERSION, 4) { + QT += webkitwidgets + greaterThan(QT_MINOR_VERSION, 2): QT += printsupport +} # version related information VERSION_TEXT=$$(WKHTMLTOX_VERSION)