Undefined reference error while building QT5.6 with webkit
-
wrote on 9 Jan 2019, 10:55 last edited by
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 1I see there is a similar bug report but nothing is being done about it.
Has anyone able to resolve this?
Thanks
-
wrote on 10 Jan 2019, 21:16 last edited by
Please switch to https://github.com/annulen/webkit/releases/tag/qtwebkit-5.212.0-alpha2, it doesn't have this issue
-
wrote on 11 Jan 2019, 09:16 last edited by
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 --llvmAnd
sw_vers
is MAC command. -
wrote on 11 Jan 2019, 18:31 last edited by
-
wrote on 16 Jan 2019, 09:55 last edited by
@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/5