Vincent van Ravesteijn wrote: > Richard Heck schreef op 6-5-2014 15:41: >> 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. > > Now I remember why I didn't do that. We might want the Qt-automatic-way > as a fallback when no custom converter is defined.
The Qt builtin converters should not be special IMHO: They should get entries in the preferences file (we would probably need something like a new keyword for that), and configure.py could then set them as a last resort fallback if nothing else is available. Then users could also switch it off if needed, and nothing is hardcoded. Georg