Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Undefined reference error while building QT5.6 with webkit
Forum Updated to NodeBB v4.3 + New Features

Undefined reference error while building QT5.6 with webkit

Scheduled Pinned Locked Moved Unsolved Qt WebKit
5 Posts 2 Posters 1.3k 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.
  • I Offline
    I Offline
    inverse
    wrote on 9 Jan 2019, 10:55 last edited by
    #1

    Hello,

    How Could I build QT5.6 with Webkit? Just for the information, QT5.6 build successful without webkit.

    I downloaded the latest webkit source and placed the folder in qt directory. Then I started building the normal QT build. My first guess was that it will also automatically build webkit which it actually did. But then after a while I faced the following error:

    disassembler/Disassembler.cpp:36: error: undefined reference to 'JSC::tryToDisassemble(JSC::MacroAssemblerCodePtr const&, unsigned long, char const*, WTF::PrintStream&)'
    collect2: error: ld returned 1 exit status
    make[3]: *** [Makefile.jsc:80: ../../bin/jsc] Error 1

    I see there is a similar bug report but nothing is being done about it.

    Has anyone able to resolve this?

    Thanks

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Konstantin Tokarev
      wrote on 10 Jan 2019, 21:16 last edited by
      #2

      Please switch to https://github.com/annulen/webkit/releases/tag/qtwebkit-5.212.0-alpha2, it doesn't have this issue

      1 Reply Last reply
      1
      • I Offline
        I Offline
        inverse
        wrote on 11 Jan 2019, 09:16 last edited by
        #3

        This version won't going to compile on Linux. It gives the following errors:

        /bin/sh: 1: sw_vers: not found
        perl ../Tools/Scripts/copy-webkitlibraries-to-product-directory --wksi --llvm

        And sw_vers is MAC command.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          Konstantin Tokarev
          wrote on 11 Jan 2019, 18:31 last edited by
          #4

          Please follow https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Linux

          I 1 Reply Last reply 16 Jan 2019, 09:55
          1
          • K Konstantin Tokarev
            11 Jan 2019, 18:31

            Please follow https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Linux

            I Offline
            I Offline
            inverse
            wrote on 16 Jan 2019, 09:55 last edited by
            #5

            @Konstantin-Tokarev Thanks. Its the same error again. Maybe its because I copy webkit in QT folder and let qt build the webkit. I haven't tried building it separately. I will see if I could built it separately and soon update the status here.

            1 Reply Last reply
            0

            1/5

            9 Jan 2019, 10:55

            • Login

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