Qt 5.0.2 WebKit won't compile (JSCrypto)
-
Hi,
Using qt-everywhere-opensource-src-5.0.2.
In VS2012 x86 Native Tools Command Prompt, I type to following configure command:@configure -I C:\icu\include -I C:\OpenSSL-Win32\include -I C:\OpenSSL-Win32 -I C:\OpenSSL-Win32\include\openssl -opensource -openssl-linked -debug-and-release -platform win32-msvc2012 -icu -nomake examples -nomake tests -L C:\OpenSSL-Win32\lib -L C:\icu\lib@
And I get a series of errors, the first one being:
@qt-everywhere-opensource-src-5.0.2\qtwebkit\source\webcore\generated\JSCrypto.h(35) : error C2065: 'Crypto' : undeclared identifier@This is although JSCrypto.h successfully includes Crypto.h.
Please advise.
Thanks,
Gil. -
sounds like an issue with OpenSSL.
I've had issues myself compiling Webkit and ended up compiling without SSL for now... so i'd suggest you try that first and if it runs, look for the issue with OpenSSL.
Sorry i can't help much more. I'm at the same point. -
oh and by the way, to compile WebKit you need Ruby, Bison, GPerf etc... as explained here:
Building Qt WebKit
Linux, MacThe tools bison, flex, gperf and ruby are required for building.
Windows
WebKit.org [trac.webkit.org] has instructions for building WebKit on Windows. ICU [site.icu-project.org] is required for building.
The tools bison, flex and gperf which are required for building are provided for convenience in the folder gnuwin32\bin. If you are using shadow builds, you must add this directory to your PATH, else no special actions need to be done manually in order to use them.
In addition you need to install Ruby [ruby-lang.org]
-