[Qgis-developer] No error on missing DISPLAY (qgis_unstable 9670)

Jürgen E. Fischer jef at norbit.de
Wed Nov 19 05:43:30 EST 2008


On Wed, 19. Nov 2008 at 11:22:55 +0100, strk wrote:
> It's common for graphical apps to give a nice and friendly
> message on console when failing to connect to the display,
> where should it happen in qgis ?
 
> Also, trying to debug the issue (before figuring it was
> the missing DISPLAY) I tried using QgsDebugMsg right on
> entering 'main', but nothing showed up. Is there a command-line
> flag to enable debugging ?

You need to define QGISDEBUG - setting CMAKE_BUILD_TYPE to Debug does
that.  Otherwise QgsDebugMsg is a nop.


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list