<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 30, 2013 at 1:41 AM, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El Dilluns, 29 de juliol de 2013, a les 23:57:38, Jaydeep Solanki va escriure:<br>
<div class="im">> Hi,<br>
> As compared to other days, I didn't do much today.<br>
><br>
> But found some really interesting facts about our image not loading problem.<br>
> I know it's not possible but some how the override is not called instead<br>
> the default implementation is called, I found out this by placing the<br>
> images next to the binary and it works. Images load, which indirectly<br>
> indicates that it is loading using default implementation.<br>
><br>
> I also tried removing the override, and having the images next to the<br>
> binary, everything works.<br>
><br>
> If you have any hint, I would really appreciate it, because I'm really in<br>
> need of one.<br>
<br>
</div>Have you tried debugging it? At some point in Qt there has to call<br>
loadResource? What about putting a breakpoint in QTextDocument::loadResource<br>
and see what happens?<br></blockquote><div>I tried it in the first place, but it doesn't hit the break point, that's how I concluded loadResource is not called.<br>It hits the breakpoint for other files.<br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> Also, I have started discovering QTextDocument source. It has a class named<br>
> QTextHtmlParser that does all the magic, I saw how it categorises Html<br>
> elements, but I'm still not sure how it handles Css. I'll look into it<br>
> further.<br>
<br>
</div>Cool :-)<br>
<div class="im"><br>
> BTW, do you also contribute to Qt ? I saw you on #qt-labs.<br>
<br>
</div>I have done some small patches here and there, yes.<br>
<br>
Cheers,<br>
  Albert<br>
<br>
><br>
> Cheers,<br>
> Jaydeep<br>
<br>
_______________________________________________<br>
Okular-devel mailing list<br>
<a href="mailto:Okular-devel@kde.org">Okular-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/okular-devel" target="_blank">https://mail.kde.org/mailman/listinfo/okular-devel</a><br>
</blockquote></div><br></div></div>