for...@lyx.org schreef:
Author: forenr
Date: Sat Sep 12 02:15:00 2009
New Revision: 31372
URL: http://www.lyx.org/trac/changeset/31372

Log:
Add a Qt version of the LyX server monitor program.
I tried to account for msvc based on the MS docs, but I cannot test it.
Apologies if it does not compile out of the box. It works with mingw.

I can compile quite easily:

qmake -project
qmake
nmake

but only with the following patch:

-#include "server_monitor.h"

#include <QApplication>
#include <QtGui>
#include <QtDebug>

+#include "server_monitor.h"

But, it doesn't run ok. It's not allowed to access the GUI from within a different thread. That means that Qt asserts for every call to a member function of infoLB or notifyLB in readPipe().

So, there is quite some reworking needed to get this to run properly.

Vincent

Reply via email to