Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.0.2 WebKit won't compile (JSCrypto)
Forum Updated to NodeBB v4.3 + New Features

Qt 5.0.2 WebKit won't compile (JSCrypto)

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gil_mo
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • W Offline
      W Offline
      WizzZZ
      wrote on last edited by
      #2

      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.

      There is only 10 types of people in the world: those who understand binary and those who don't.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        WizzZZ
        wrote on last edited by
        #3

        oh and by the way, to compile WebKit you need Ruby, Bison, GPerf etc... as explained here:

        Building Qt WebKit
        Linux, Mac

        The 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]

        There is only 10 types of people in the world: those who understand binary and those who don't.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gil_mo
          wrote on last edited by
          #4

          Solved. The problem was that JSCrypto was finding the wrong crypto.h (the one from OpenSSL). The solution was to remove the C:\OpenSSL-Win32\include\openssl path from the configure command line.
          Thanks to Thiago Macieira in the Qt 'Interest' mailing list.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved