A Dimecres, 31 d'agost de 2011, Christoph Feck vàreu escriure: > On Tuesday 30 August 2011 23:50:14 Martin Koller wrote: > > Hi, > > > > In my application I use KImageIO::mimeTypes to determine which > > formats I can load (e.g. the output of it is used in my .desktop > > file to fill in the MimeType definition). > > > > However I see that obviously Qt can already (to some degree) load > > .svg and .svgz files, but KImageIO::mimeTypes does not return > > image/svg+xml > > image/svg+xml-compressed > > > > The solution would be to add 2 new desktop files in kdelibs/kimgio > > (attached). This would automatically allow all image applications > > to also load these file types, as they are then allowed in the > > file selector as "supported format". > > > > However, Qt can not load all SVG files correctly ... > > > > Despite this fact, gwenview added these 2 MimeTypes as supported > > formats in the .desktop file, so I wonder if we can add these > > generally. > > > > Opinions ? > > I think you don't need to add the [x-test] lines, they are generated > by scripty, as far as I know.
That's correct. Albert