Hi Orion,

I am afraid this is impossible to avoid. Qt devices rely on a QCoreApplication, 
which is basically an event handling loop, or a QApplication, which is a class 
derived from QCoreApplication that handles loops in a graphic environment (X). 
I could have chosen to instantiate a QCoreApplication for the non-graphical 
devices and a QApplication for the others, but, unfortunately, as PLplot allows 
to run simultaneously parallel streams on possibly graphical and non-graphical 
devices, and as one and only one Q(Core)Application can be run at once, I had 
no other choice than using a common QApplication for every device.

Alban
________________________________________
De : plplot-devel-boun...@lists.sourceforge.net 
[plplot-devel-boun...@lists.sourceforge.net] de la part de Orion Poplawski 
[or...@cora.nwra.com]
Date d'envoi : mercredi 9 septembre 2009 16:02
À : PLplot development list
Objet : [Plplot-devel] qt tests require an X display

It appears that the various *qt tests require and X server to run, which
is not available by default in the RPM build environment.  Is this
strictly necessary?  I'm looking into providing a Xvfb environment for
the tests, but having some difficulty there too.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  or...@cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to