Hello everyone,

I'm having a strange issue where I'm embedding some of the files needed for an 
html and then displaying it in the app, there is a noticeable difference in 
quality between referencing an svg in the filesystem verses referencing the 
same exact svg embedded using a .qrc file. This makes no sense to me. It should 
be the same file, right? The css and xml files I embed seem to embed without 
any change in content as you'd expect:

(in the .qrc file):
<file>css/style.css</file>
...
<file>img/img.svg</file>

(in the generated html):
<img src="file:///.../img/img.svg" /> <~ Displays perfectly
<img src="qrc:///img/img.svg" /> <~ Looks like a horribly compressed jpeg or 
something

Note that it's the same exact file and using qrc:/// with style.css results in 
no problems.

-Thomas
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to