From 4e33e6dc91cb307100907e1a388d8f539ce93b5d Mon Sep 17 00:00:00 2001
From: Jamie Nguyen <j@jamielinux.com>
Date: Wed, 22 Oct 2014 23:14:32 +0100
Subject: [PATCH] Fix QPrinter FTBFS
---
CutyCapt.cpp | 3 ---
CutyCapt.pro | 2 +-
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/CutyCapt.cpp b/CutyCapt.cpp
index 066def7..7773015 100644
--- a/CutyCapt.cpp
+++ b/CutyCapt.cpp
@@ -27,10 +27,7 @@
#include <QtWebKit>
#include <QtGui>
#include <QSvgGenerator>
-
-#if QT_VERSION < 0x050000
#include <QPrinter>
-#endif
#include <QTimer>
#include <QByteArray>
diff --git a/CutyCapt.pro b/CutyCapt.pro
index 10dda79..049293e 100644
--- a/CutyCapt.pro
+++ b/CutyCapt.pro
@@ -1,4 +1,4 @@
-QT += webkit svg network
+QT += webkit svg network printsupport
SOURCES = CutyCapt.cpp
HEADERS = CutyCapt.hpp
CONFIG += qt console
--
1.9.3