08-12-2023, 05:59 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Aug 2023
Device: Kobo Clara HD
|
Hep with building QT 4.8 with webkit
Hello
After being stuck with my kobo's built-in browser, i decided to try to make my own. I decided to follow this tutorial on building Qt 4.8.5: But when I followed this tutorial and removed the --no-webkit option on ./configure, it would fail to compile. So, I decided to follow this tutorial as well as the previous one. My environment is Lubuntu 18.04 32bit, and the tutorials work right until I need to compile QtWebKit with: Code:
perl Tools/Scripts/build-webkit --qr --release I just sort of copied the header files in to the directories that caused problems, but now at the very end of the build, it fails to compile with these errors: ~/gcc-linaro-arm-linux-gnueabihf-4.8-2013.04-20130417_linux/arm-linux-gnueabihf/bin/ld: cannot find -lz ~/gcc-linaro-arm-linux-gnueabihf-4.8-2013.04-20130417_linux/arm-linux-gnueabihf/bin/ld: cannot find -lpng ~/gcc-linaro-arm-linux-gnueabihf-4.8-2013.04-20130417_linux/arm-linux-gnueabihf/bin/ld: cannot find -ljpeg I was wondering if anybody could help me with my predicament. I have a in progress tutorial on github which has the steps to reproduce the problem here. Thanks in advance! |
08-12-2023, 06:35 AM | #2 |
Connoisseur
Posts: 86
Karma: 3892
Join Date: Feb 2022
Device: Kobo nia
|
you need to compile those libraries to the sysroot. Just google them. Placing only headers will cause problems.
Also what are you doing with perl? weird |
Advert | |
|
08-12-2023, 11:00 PM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Aug 2023
Device: Kobo Clara HD
|
Thanks. I somehow managed to completely forget that you need to use the targets headerfiles and libraries. Whoops.
|
08-12-2023, 11:43 PM | #4 |
Guru
Posts: 856
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Why not just use the Qt (5.2) already provided on Kobo devices? They already include QtWebkit (that's what the Kobo browser uses).
I just checked NickelTC, unfortunately, QtWebkit is not supplied, but you should be able to modify the dockerfile/scripts to include it. |
08-12-2023, 11:53 PM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: Aug 2023
Device: Kobo Clara HD
|
At this point, I sort of don't what to stop what I started. Probably because I already put far too much effort in to it to just cancel it here.
Still, it's a good idea. Probably will try to do that with any future projects. |
Advert | |
|
08-13-2023, 06:45 AM | #6 |
Connoisseur
Posts: 86
Karma: 3892
Join Date: Feb 2022
Device: Kobo nia
|
|
08-14-2023, 05:16 AM | #7 | |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Quote:
|
|
08-14-2023, 05:24 AM | #8 |
Guru
Posts: 856
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Problem is, there's no non-terrible version of QtWebkit out there
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
k3 webkit browser...not impressed | bZkindle | Amazon Kindle | 41 | 01-28-2011 02:11 PM |
Any hope to get Webkit on the K2? | travfar | Amazon Kindle | 4 | 01-02-2011 01:26 PM |
Kindle 3 Webkit Browser | toronado | Amazon Kindle | 3 | 09-06-2010 02:08 AM |
Using webkit browser in PB 302 | JimMcLaren | PocketBook | 14 | 06-10-2010 07:31 PM |
WebKit | Jacques_N | PocketBook | 11 | 04-09-2010 05:27 PM |