summarylogtreecommitdiffstats
path: root/0001-qt5.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-qt5.patch')
-rw-r--r--0001-qt5.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/0001-qt5.patch b/0001-qt5.patch
new file mode 100644
index 000000000000..5fa54b12107e
--- /dev/null
+++ b/0001-qt5.patch
@@ -0,0 +1,36 @@
+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
+--- a/src/touchegg/util/Include.h
++++ b/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
+--- a/touchegg.pro
++++ b/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
+