void-packages/srcpkgs/touchegg/patches/qt5.patch

38 lines
1.1 KiB
Diff

From e60ff96afe5ffb893803e26c598e7bc11d1e0c33 Mon Sep 17 00:00:00 2001
From: chrmod <krzysztof.modras@gmail.com>
Date: Sun, 31 Jan 2016 14:20:41 +0100
Subject: [PATCH] Updating dependencies for QT 5.1 to compile on Ubuntu 15.10
---
src/touchegg/util/Include.h | 3 ++-
touchegg.pro | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/touchegg/util/Include.h b/src/touchegg/util/Include.h
index 4fb27d5..c0de1d5 100644
--- touchegg/src/touchegg/util/Include.h
+++ touchegg/src/touchegg/util/Include.h
@@ -23,7 +23,8 @@
// Qt
#include <QtCore>
#include <QtGui>
- #include <QtGui/QX11Info>
+ #include <QtWidgets>
+ #include <QX11Info>
#include <QtXml>
// Xlib
diff --git a/touchegg.pro b/touchegg.pro
index 696ea1a..4565083 100644
--- touchegg/touchegg.pro
+++ touchegg/touchegg.pro
@@ -1,6 +1,6 @@
TEMPLATE = app
TARGET = touchegg
-QT += gui core xml
+QT += gui core xml widgets x11extras
LIBS += -lgeis -lX11 -lXtst -lXext
//DEFINES = QT_NO_DEBUG_OUTPUT