Op 6 mei 2014 15:41 schreef "Richard Heck" <rgh...@lyx.org>: > > On 05/06/2014 04:57 AM, Vincent van Ravesteijn wrote: >> >> Previewing of some (most) svg files does not work anymore even if Inkscape and the converters has been set correctly. This is because Qt claims to be able to load svg files natively. However, Qt does a bad job doing that. Therefore, I want to use my configured converter. How can I do that ? >> >> I now applied the attached patch, but it might not be everyone's choice. > > > I guess my only thought, if Qt really does such a bad job with these, would be to put this hack in loadableImageFormats(), to ensure consistency. At the moment, that is only used here anyway, so it is equivalent. >
Yes, agreed. > A more general, non-hard-coding solution would be to add a flag to the formats, one that meant: Do not use native loading capabilities, then check that flag. > > Richard > Shouldn't we always favor an explicit format->PNG converter over built-in ones. It doesn't make sense that the configure script specifies those converters but are silently not used. Then, don't have the configure script set them. Vincent