Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-12-2023, 05:59 AM   #1
ZXMushroom63
Junior Member
ZXMushroom63 began at the beginning.
 
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
They failed to find zlib.h, png.h and jpeglib.h
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!
ZXMushroom63 is offline   Reply With Quote
Old 08-12-2023, 06:35 AM   #2
Szybet
Connoisseur
Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.
 
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
Szybet is offline   Reply With Quote
Advert
Old 08-12-2023, 11:00 PM   #3
ZXMushroom63
Junior Member
ZXMushroom63 began at the beginning.
 
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.
ZXMushroom63 is offline   Reply With Quote
Old 08-12-2023, 11:43 PM   #4
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
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.
sherman is offline   Reply With Quote
Old 08-12-2023, 11:53 PM   #5
ZXMushroom63
Junior Member
ZXMushroom63 began at the beginning.
 
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.
ZXMushroom63 is offline   Reply With Quote
Advert
Old 08-13-2023, 06:45 AM   #6
Szybet
Connoisseur
Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.
 
Posts: 86
Karma: 3892
Join Date: Feb 2022
Device: Kobo nia
Quote:
Originally Posted by ZXMushroom63 View Post
Thanks. I somehow managed to completely forget that you need to use the targets headerfiles and libraries. Whoops.
How? Glibc doesn't complain?
Szybet is offline   Reply With Quote
Old 08-14-2023, 05:16 AM   #7
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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:
Originally Posted by sherman View Post
I just checked NickelTC, unfortunately, QtWebkit is not supplied, but you should be able to modify the dockerfile/scripts to include it.
Yeah, IIRC, I did test build a "matching" (i.e., terrible) version, and that ought to be in the build scripts .
NiLuJe is offline   Reply With Quote
Old 08-14-2023, 05:24 AM   #8
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
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
sherman is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 07:16 PM.


MobileRead.com is a privately owned, operated and funded community.