On Sat, Sep 12, 2009 at 06:33:17PM +0200, Vincent van Ravesteijn wrote:

> 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

Right. However, have you moved away server_monitor.c?

> but only with the following patch:
> 
> -#include "server_monitor.h"
>  
>  #include <QApplication>
>  #include <QtGui>
>  #include <QtDebug>
> 
> +#include "server_monitor.h"

Ok, I should have thought about this.

> 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().

I cannot reproduce this. It works with Cygwin, MinGW, Linux, and Solaris.

-- 
Enrico

Reply via email to