<div dir="ltr">Hi Andrea,<br><div class="gmail_extra"><br></div><div class="gmail_extra">It sounds to me like your Qt, when loaded by qgis_mapserv.fcgi, is not correctly finding the 'plugins' directory, specifically its 'imageformats' subdirectory. If that machine also runs QGIS Desktop, you can verify your Qt install has the image plugins by launching QGIS and checking the Providers section in the About QGIS dialog.<br>
<br></div><div class="gmail_extra">Since Qt has native, built-in support for PNG, it should always be able to render a WMS request to PNG. If Qt can not load the Qt JPEG image format plugin, then JPEG will not be rendered.<br>
<br></div>Just guessing, but you may try setting the env variable QT_PLUGIN_PATH in the FCGI environment to help Qt find the plugins directory [0]. If the imageformats subdirectory is missing some plugins, then there is something funky/missing with your Qt install.<br>
<br>[0] <a href="http://qt-project.org/doc/qt-4.8/deployment-plugins.html">http://qt-project.org/doc/qt-4.8/deployment-plugins.html</a><br><br>Regards,<br><br>Larry<br><br><br><div class="gmail_extra"><div class="gmail_quote">
On Tue, Jun 24, 2014 at 7:26 AM, Andrea Peri <span dir="ltr"><<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi,<br>
I do some tests.<br>
Using a shell environment to see any error returned.<br>
<br>
I see using the<br>
"FORMAT=image/png"<br>
 the image is correctly returned.<br>
Instead using the<br>
"FORMAT=image/jpeg"<br>
the image is not returned.<br>
But no crash at all.<br>
Simply the qgis-server request will end returning nothing.<br>
<br>
Also using a debug session no error reported.<br>
Only apparently return nothing.<br>
<br>
<br>
A.<br>
<br>
<br>
2014-06-24 14:31 GMT+02:00 Andrea Peri <<a href="mailto:aperi2007@gmail.com">aperi2007@gmail.com</a>>:<br>
<div class=""><div class="h5">> Hi,<br>
> I'm having some trouble with qgis-server and the output in jpeg format.<br>
><br>
> The request getmap using the jpeg format as not response at all.<br>
><br>
> I try on two distinct debian machine but the result is the same.<br>
><br>
> So I guess the most probable theory is the lack of a library or a<br>
> library too early on Debian stable distro'.<br>
><br>
> So I like to know what is the used jpeg library and if there is a<br>
> minimal version for the jpeg library used.<br>
><br>
> Thx<br>
> --<br>
> -----------------<br>
> Andrea Peri<br>
> . . . . . . . . .<br>
> qwerty àèìòù<br>
> -----------------<br>
<br>
<br>
<br>
--<br>
-----------------<br>
Andrea Peri<br>
. . . . . . . . .<br>
qwerty àèìòù<br>
-----------------<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div></div></blockquote></div><br></div></div>