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.
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