[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 orion@...
Boulder, CO 80301 http://www.cora.nwra.com

Thread view

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 orion@...
Boulder, CO 80301 http://www.cora.nwra.com

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-bounces@... [plplot-devel-bounces@...] de la part de Orion Poplawski [orion@...]
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 orion@...
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@...
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

CountryState

JavaScript is required for this form.

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details