summarylogtreecommitdiffstats
path: root/qt5.patch
blob: 5fa54b12107e5db0e593a9fb55800aa9deb5ba3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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