[Okular-devel] Dt. 29th July - status

Jaydeep Solanki jaydp17 at gmail.com
Tue Jul 30 05:49:45 UTC 2013


On Tue, Jul 30, 2013 at 1:41 AM, Albert Astals Cid <aacid at kde.org> wrote:

> El Dilluns, 29 de juliol de 2013, a les 23:57:38, Jaydeep Solanki va
> escriure:
> > Hi,
> > As compared to other days, I didn't do much today.
> >
> > But found some really interesting facts about our image not loading
> problem.
> > I know it's not possible but some how the override is not called instead
> > the default implementation is called, I found out this by placing the
> > images next to the binary and it works. Images load, which indirectly
> > indicates that it is loading using default implementation.
> >
> > I also tried removing the override, and having the images next to the
> > binary, everything works.
> >
> > If you have any hint, I would really appreciate it, because I'm really in
> > need of one.
>
> Have you tried debugging it? At some point in Qt there has to call
> loadResource? What about putting a breakpoint in
> QTextDocument::loadResource
> and see what happens?
>
I tried it in the first place, but it doesn't hit the break point, that's
how I concluded loadResource is not called.
It hits the breakpoint for other files.

>
> > Also, I have started discovering QTextDocument source. It has a class
> named
> > QTextHtmlParser that does all the magic, I saw how it categorises Html
> > elements, but I'm still not sure how it handles Css. I'll look into it
> > further.
>
> Cool :-)
>
> > BTW, do you also contribute to Qt ? I saw you on #qt-labs.
>
> I have done some small patches here and there, yes.
>
> Cheers,
>   Albert
>
> >
> > Cheers,
> > Jaydeep
>
> _______________________________________________
> Okular-devel mailing list
> Okular-devel at kde.org
> https://mail.kde.org/mailman/listinfo/okular-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20130730/21c3bed2/attachment.html>


More information about the Okular-devel mailing list