mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Update the server_monitor example client to Qt5
This commit is contained in:
parent
781b10306a
commit
ab72f94595
@ -41,6 +41,9 @@
|
||||
#include <QApplication>
|
||||
#include <QtGui>
|
||||
#include <QtDebug>
|
||||
#if QT_VERSION >= 0x050000
|
||||
#include <QtWidgets>
|
||||
#endif
|
||||
|
||||
#include "server_monitor.h"
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <QDialog>
|
||||
#include <QFile>
|
||||
|
@ -1,2 +1,4 @@
|
||||
CONFIG += console
|
||||
HEADERS += server_monitor.h
|
||||
SOURCES += server_monitor.cpp
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
Loading…
Reference in New Issue
Block a user