summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/beamergui.pro2
-rw-r--r--src/main.cpp2
-rw-r--r--src/widget.cpp2
-rw-r--r--src/widget.h4
4 files changed, 4 insertions, 6 deletions
diff --git a/src/beamergui.pro b/src/beamergui.pro
index 3ff480a..1b9ee2a 100644
--- a/src/beamergui.pro
+++ b/src/beamergui.pro
@@ -6,7 +6,7 @@
QT += core gui # qt4
-#QT += widgets # qt5
+QT += widgets # qt5
TARGET = beamergui
TEMPLATE = app
diff --git a/src/main.cpp b/src/main.cpp
index 7c2daab..8f90cd7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,7 +1,7 @@
// Copyright 2013, University of Freiburg,
// Author: Manuel Schneider <ms1144>
-#include <QtGui/QApplication> // for Qt4
+#include <QtWidgets/QApplication> // for Qt4
#include "widget.h"
int main(int argc, char *argv[])
diff --git a/src/widget.cpp b/src/widget.cpp
index 3e23385..b3a559f 100644
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -5,7 +5,7 @@
#include <algorithm>
#include <QDebug>
-#include <QtGui/QAction>
+#include <QtWidgets/QAction>
#include "widget.h"
#include "ui_widget.h"
diff --git a/src/widget.h b/src/widget.h
index 4d0df14..55caa63 100644
--- a/src/widget.h
+++ b/src/widget.h
@@ -4,9 +4,7 @@
#ifndef WIDGET_H
#define WIDGET_H
-#include <QtGui> // for Qt4
-#include <QWidget> // for Qt4
-//#include <QtWidgets> // for Qt5
+#include <QtWidgets> // for Qt5
#include <QDebug>
#include <X11/Xlib.h>