[webkit-qt] jsMath behavior different on win vs. linux

Kent Hansen kent.hansen at nokia.com
Mon Apr 12 10:34:35 PDT 2010


ext Carter, Nathan wrote:
> Well, the jsMath.toString() tip is obviously crucial, but the other suggestion doesn't seem to make a difference.  Specifically, I took the code from my earlier email and made these modifications.
>
>   
>>> #define JSMATH_PATH "/Users/nathan/download/jsMath-3.6c"
>>>       
>
> #define JSMATH_PATH "file:///Users/nathan/download/jsMath-3.6c"
>
>   
>>>    qDebug() << wv.page()->mainFrame()->evaluateJavaScript( "jsMath" ).toString();
>>>       
>
>    qDebug() << wv.page()->mainFrame()->evaluateJavaScript( "jsMath.toString()" ).toString();
>
> Same results as before; the value dumped after app.exec() is "".
>   

I put an alert("Foo!") at the top of easy/load.js, and it definitely loads.
But it doesn't render the math here either.
I'll have another look tomorrow.

Kent


More information about the webkit-qt mailing list