Update the server_monitor example client to Qt5

This commit is contained in:
Enrico Forestieri 2018-08-07 17:47:50 +02:00
parent 781b10306a
commit ab72f94595
3 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,9 @@
#include <QApplication>
#include <QtGui>
#include <QtDebug>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#endif
#include "server_monitor.h"

View File

@ -13,6 +13,7 @@
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <QDialog>
#include <QFile>

View File

@ -1,2 +1,4 @@
CONFIG += console
HEADERS += server_monitor.h
SOURCES += server_monitor.cpp
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets