Unsolved Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?
-
@jsulm said in Cross compiling QtWebEngine for Raspberry Pi?:
@lolcocks said in Cross compiling QtWebEngine for Raspberry Pi?:
Embedded build is yes, so does that mean it should get built or not?
I guess so, but I'm not sure what "embedded" means here.
Maybe somebody else knows more about building web engine.You also did "make install" after "make"?
Yes, I also did a make install after make.
After doing that I went into the qt5pi folder and there was no QtWebEngine folder anywhere. :(Means it probably got skipped.
Should I run the make command once again and save the output?
It might tell why the QtWebEngine was skipped during make but not during compile. -
@jsulm I ran make again and saved the output this time and found the error.
V8 snapshot cannot be built. Most likely, the 32-bit host compiler does not work. Please make sure you have 32-bit devel environment installed, or configure webengine with '-no-webengine-v8-snapshot' QtWebEngine will not be built.
What does the first statement mean?
Should I try with "-no-webengine-v8-snapshot" in the configure statement?But I do not want to lose the ability QtWebEngine to open PDFs.
-
Embedded here means that it's building for an embedded device, in my case, the Raspberry Pi.
And I just had a realization that the Pepper Plugins are not going to get built which is what I need for opening PDFs in the QtWebEngine.
How can I enable Pepper Plugins on embedded devices?
-
@lolcocks said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:
How can I enable Pepper Plugins on embedded devices?
Check configure log (config.log) to see why it was not enabled. I guess some dependencies are missing.
-
Hi,
@lolcocks said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:
Required system libraries:
fontconfig ........................... yes
dbus ................................. yes
nss .................................. no
khr .................................. yes
glibc ................................ yesThere's a no there in the middle for the required system libraries.
-
@jsulm said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:
@lolcocks said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:
How can I enable Pepper Plugins on embedded devices?
Check configure log (config.log) to see why it was not enabled. I guess some dependencies are missing.
I checked, there is no mention of the word "Pepper" anywhere, except when saying it won't be built.
@SGaist said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:
Hi,
@lolcocks said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:
Required system libraries:
fontconfig ........................... yes
dbus ................................. yes
nss .................................. no
khr .................................. yes
glibc ................................ yesThere's a no there in the middle for the required system libraries.
Ohhhh..... I totally missed that. (Sorry, first time building anything).
I will go and try to make it a yes and try to compile again.But is that the one required for Pepper Plugins? Or is it one of the optional ones?
Thank you so much for helping me out.
-
@SGaist ,
I just turned the nss into yes, but Pepper Plugins is still a no.
I see a lot of optional packages as no, maybe one of those is required for Pepper Plugins?
Some of these might not be even available on Raspian Buster. I might have to compile them from source.How can I find out which library is required for Pepper Plugins?
-
I don't know all the dependencies for QtWebEngine. You should read the test logs to see why the Pepper Plugin test fails.
-
@SGaist said in Cross compiling QtWebEngine for Raspberry Pi with Pepper Plugins?:
I don't know all the dependencies for QtWebEngine. You should read the test logs to see why the Pepper Plugin test fails.
There's no mention of the word "Pepper" anywhere in the logs except when it says that it won't be built. :(
-
Doesn't matter what I do, Pepper Plugins is always a no.
I tried various versions of the configure command, still the same.I did a cross verification for the configure command for Linux (x86) and Raspberry Pi,
Even the optional system libraries used and required system libraries are exactly the same. Yet, Pepper Plugins will get built for Ubuntu but won't get cross compiled.
What is qpa-xcp? It's libraries are always a no. What is its purpose? Maybe that's the missing key
-
It's the backend to run Qt application using a X11 server.