<div dir="ltr">Hi Andrea,<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 24, 2014 at 3:21 PM, 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 Larry,<br>
<br>
thx for hints,<br>
<br>
I never suppose the jpeg was due to a plugin.<br>
I check the existence of libjpeg, but never seen for a plugin folder<br>
because I'm running only the qgis-server without any desktop<br>
capability.<br>
<br>
Now searching for this plugin folder,<br>
effectively I see a broken symbolic link in the<br>
/usr/share/qt4/plugins  forward a ../../lib/qt4/plugins<br>
<br>
It seem like if I'm not install something....<br>
:/<br></blockquote><div><br></div><div>Not sure what might be missing (or what Debian and Qt versions you are using), but it seems the image format plugins are part of the QtGui package install [0]. </div><div><br>[0] <a href="https://packages.debian.org/wheezy/amd64/libqtgui4/filelist">https://packages.debian.org/wheezy/amd64/libqtgui4/filelist</a><br>
</div><div><br></div><div>Regards,<br><br></div><div>Larry<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I choose to install many libs from debian repos<br>
also these two:<br>
pyqt4-dev-tools, python-qt4-dev<br>
<br>
Perhaps I miss something other lib,<br>
but I guess this should be report by the cmake routines.<br>
<br>
Perhaps a missing check in the cmake ?<br>
<br>
Now I need to understand what library is missing.<br>
Unfortunately I'm not so skill with qt libs.<br>
<br>
there is somewhere a list of all the need libraries ?<br>
<br>
Thx,<br>
<br>
Andrea.<br>
<br>
2014-06-24 21:46 GMT+02:00 Larry Shaffer <<a href="mailto:larrys@dakotacarto.com">larrys@dakotacarto.com</a>>:<br>
<div class=""><div class="h5">> Hi Andrea,<br>
><br>
> It sounds to me like your Qt, when loaded by qgis_mapserv.fcgi, is not<br>
> correctly finding the 'plugins' directory, specifically its 'imageformats'<br>
> subdirectory. If that machine also runs QGIS Desktop, you can verify your Qt<br>
> install has the image plugins by launching QGIS and checking the Providers<br>
> section in the About QGIS dialog.<br>
><br>
> Since Qt has native, built-in support for PNG, it should always be able to<br>
> render a WMS request to PNG. If Qt can not load the Qt JPEG image format<br>
> plugin, then JPEG will not be rendered.<br>
><br>
> Just guessing, but you may try setting the env variable QT_PLUGIN_PATH in<br>
> the FCGI environment to help Qt find the plugins directory [0]. If the<br>
> imageformats subdirectory is missing some plugins, then there is something<br>
> funky/missing with your Qt install.<br>
><br>
> [0] <a href="http://qt-project.org/doc/qt-4.8/deployment-plugins.html" target="_blank">http://qt-project.org/doc/qt-4.8/deployment-plugins.html</a><br>
><br>
> Regards,<br>
><br>
> Larry<br>
><br>
><br>
> On Tue, Jun 24, 2014 at 7:26 AM, Andrea Peri <<a href="mailto:aperi2007@gmail.com">aperi2007@gmail.com</a>> wrote:<br>
>><br>
>> 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>
>> > 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><br>
><br>
><br>
<br>
<br>
<br>
--<br>
-----------------<br>
Andrea Peri<br>
. . . . . . . . .<br>
qwerty àèìòù<br>
-----------------<br>
</div></div></blockquote></div><br></div></div>