[webkit-dev] stringByEvaluatingJavaScriptFromString: OSX & Windows

David Kilzer ddkilzer at webkit.org
Tue Sep 23 06:50:28 PDT 2008


On Sun, 9/21/08, Jason Hullinger <sshjason at gmail.com> wrote:

> In OS X, with the WebKit Framework, I have the following
> function from
> WebView doing what I need: -
> (NSString*)stringByEvaluatingJavaScriptFromString:(NSString*)
> *script *However, I actually need to use that in a Windows
> program. That
> function is not exported by the WebKit DLL, so there is no
> direct way to
> GetProcAddress for the method name. Would anyone know what
> the best approach
> would be to compile WebKit in order to generate the libs to
> build my own
> program that could call that function? In other words,
> would compiling under
> Qt, Cygwin or VC++ be better for this, or would any way
> allow me to do what
> I need? I ask because I'm having a very difficult time
> compiling for Windows
> and would like to concentrate on the best approach.

As Adam Roben mentioned recently in another recent reply:

"The instructions at <http://webkit.org/building/tools.html> should  
result in an error-free build (unless the build is broken at the time  
you checked out your source tree, but then an 'svn up' will fix that).  
Are there specific issues you ran into that you could file bugs about  
at <https://bugs.webkit.org/>? We'd like the build process to be as 
simple and smooth as possible. Thanks."

Dave




More information about the webkit-dev mailing list