summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7379547)
raw | patch | inline | side by side (parent: 7379547)
author | Franklin S Cooper Jr <fcooper@ti.com> | |
Tue, 10 Mar 2015 22:13:02 +0000 (17:13 -0500) | ||
committer | Franklin S Cooper Jr <fcooper@ti.com> | |
Tue, 10 Mar 2015 22:13:02 +0000 (17:13 -0500) |
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
main.cpp | patch | blob | history | |
refresh_screen.pro | patch | blob | history |
diff --git a/main.cpp b/main.cpp
index 11fd3bff3c8a1d813effc4aeb86bf50f852c282c..009637c4deec40e13add3890dccbde8cca043f91 100644 (file)
--- a/main.cpp
+++ b/main.cpp
*
*/
+#include <qglobal.h>
+#if QT_VERSION < 0x050000
#include <QtGui/QApplication>
+#else
+#include <QtWidgets/QApplication>
+#endif
+
#include "mainwindow.h"
#include <QStringList>
diff --git a/refresh_screen.pro b/refresh_screen.pro
index d9e3636e3ae5ee998d251f7de95fdceeb9b0dc5d..b5514f97d27cb568a0e41bc291ed8202f6332ba7 100644 (file)
--- a/refresh_screen.pro
+++ b/refresh_screen.pro
#\r
#-------------------------------------------------\r
\r
-QT += core gui\r
+QT += core gui widgets\r
\r
TARGET = refresh_screen\r
TEMPLATE = app\r