From 23095b58909d90bd41c8051fd0c2dc90657865a2 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sat, 12 Sep 2009 17:40:54 +0000 Subject: [PATCH] server_monitor.h must be included last for msvc sake. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31375 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/lyxserver/server_monitor.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/development/lyxserver/server_monitor.cpp b/development/lyxserver/server_monitor.cpp index 83d6303586..8db3a07d88 100644 --- a/development/lyxserver/server_monitor.cpp +++ b/development/lyxserver/server_monitor.cpp @@ -24,6 +24,11 @@ * 3) Compile using the following command: * g++ server_monitor.cpp -o monitor -I. `pkg-config --cflags --libs QtGui` * + * Alternatively, you can create a Makefile with the following commands: + * qmake -project + * qmake + * and then run make (or nmake, if you use msvc). + * * Usage: * 1) Set the LyXserver pipe path in the LyX preferences (on *nix you can use * any path, for example ~/.lyx/lyxpipe, whereas on Windows the path has @@ -33,12 +38,12 @@ * push the button labeled "Open pipes" and then try issuing some commands. */ -#include "server_monitor.h" - #include #include #include +#include "server_monitor.h" + class ReadPipe : public QThread { public: ///