Hi Larry, thx for hints,
I never suppose the jpeg was due to a plugin. I check the existence of libjpeg, but never seen for a plugin folder because I'm running only the qgis-server without any desktop capability. Now searching for this plugin folder, effectively I see a broken symbolic link in the /usr/share/qt4/plugins forward a ../../lib/qt4/plugins It seem like if I'm not install something.... :/ I choose to install many libs from debian repos also these two: pyqt4-dev-tools, python-qt4-dev Perhaps I miss something other lib, but I guess this should be report by the cmake routines. Perhaps a missing check in the cmake ? Now I need to understand what library is missing. Unfortunately I'm not so skill with qt libs. there is somewhere a list of all the need libraries ? Thx, Andrea. 2014-06-24 21:46 GMT+02:00 Larry Shaffer <[email protected]>: > Hi Andrea, > > 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. > > 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. > > 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. > > [0] http://qt-project.org/doc/qt-4.8/deployment-plugins.html > > Regards, > > Larry > > > On Tue, Jun 24, 2014 at 7:26 AM, Andrea Peri <[email protected]> wrote: >> >> Hi, >> I do some tests. >> Using a shell environment to see any error returned. >> >> I see using the >> "FORMAT=image/png" >> the image is correctly returned. >> Instead using the >> "FORMAT=image/jpeg" >> the image is not returned. >> But no crash at all. >> Simply the qgis-server request will end returning nothing. >> >> Also using a debug session no error reported. >> Only apparently return nothing. >> >> >> A. >> >> >> 2014-06-24 14:31 GMT+02:00 Andrea Peri <[email protected]>: >> > Hi, >> > I'm having some trouble with qgis-server and the output in jpeg format. >> > >> > The request getmap using the jpeg format as not response at all. >> > >> > I try on two distinct debian machine but the result is the same. >> > >> > So I guess the most probable theory is the lack of a library or a >> > library too early on Debian stable distro'. >> > >> > So I like to know what is the used jpeg library and if there is a >> > minimal version for the jpeg library used. >> > >> > Thx >> > -- >> > ----------------- >> > Andrea Peri >> > . . . . . . . . . >> > qwerty àèìòù >> > ----------------- >> >> >> >> -- >> ----------------- >> Andrea Peri >> . . . . . . . . . >> qwerty àèìòù >> ----------------- >> _______________________________________________ >> Qgis-developer mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/qgis-developer > > -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù ----------------- _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
