Undefined reference error while building QT5.6 with webkit
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: *** [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?
Please switch to https://github.com/annulen/webkit/releases/tag/qtwebkit-5.212.0-alpha2, it doesn't have this issue
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
sw_versis MAC command.
@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.