[Qgis-developer] how to get debugging messages?

Marco Bernasocchi marco at bernawebdesign.ch
Wed Feb 15 08:37:55 EST 2012


CMAKE_BUILD_TYPE is what you are looking for I guess

Marco Bernasocchi (mobile)
www.opengis.ch
On Feb 15, 2012 1:36 PM, "Etienne Tourigny" <etourigny.dev at gmail.com> wrote:

> Hi all,
>
> I am trying to activate debug output (sent by QgsDebugMsg), and
> setting the environment variable "QGIS_DEBUG" has no effect:
>
> QGIS_DEBUG=1 qgis
> Warning: loading of qgis translation failed
> [/home/softdev/share/qgis/i18n//qgis_en_US]
> Warning: loading of qt translation failed
> [/usr/share/qt4/translations/qt_en_US]
> [no debug output at all]
>
>
> I also tried activating QGISDEBUG with cmake, but no success:
>
> cmake -D CMAKE_INSTALL_PREFIX=$SOFT_PREFIX  -D
> PYTHON_LIBRARY=/usr/lib/libpython2.7.so -D QGISDEBUG=1 ..
> [...]
> CMake Warning:
>  Manually-specified variables were not used by the project:
>
>    QGISDEBUG
>
> What is the proper way of compiling and running QGis with debug
> messages enabled?
>
> thanks
> Etienne
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120215/50a95aa1/attachment.html


More information about the Qgis-developer mailing list