Sorry for the late repost..

It turned out that you're right... it was a js error that - i had failed to
initialize a ressource from a static library - resulting in a lot of
expected javascript (mootools) missing when loading the no-gui client.

Now i'm trying to figure out  how to catch and show js errors without the
inspector (which is not available in the no-gui) ? Im thinking of simply
making a try/catch around every js evaluation and then calling a C++ method
with the exception... but could be nice to hook directly into webkit.

Thanks for you help... Maybe someone else will realize the simplicity of the
problem earlier when reading this post... :)


On 12 February 2010 15:46, Ariya Hidayat <[email protected]> wrote:

> > For some reason this does not work - i AM able to load the page , and
> also
> > able to render the frame via QPainter to QImage etc... but when calling
> > QWebFrame::evaluateJavaScript() nothing happens...
>
> Do you have a proper event loop?
>
> Can't you use your debugger to see where it stops?
>
> Maybe use Web Inspector to execute a JS code and see how it goes there?
>
>
> --
> Ariya Hidayat
> http://www.linkedin.com/in/ariyahidayat
> _______________________________________________
> webkit-qt mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt

Reply via email to