Skip to contentSkip to conversation

QtWebEngine with Qt 5.4.2 and SMARC sAMX6i

DISCUSSION Andreas Enbacka 2 participants 4 messages Jan 4, 2016 – Jan 5, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

I have been able to get Qt 5.4.2 to work with Yocto 1.8 and kernel 3.10.53 for Kontron SMARC sAMX6i. In general, it seems to work quite well, however I have issues with the QtWebEngine module. With QtWebKit I am able to get web pages rendered to display, however when I tried to use QtWebEngine (both using QtWebEngineWidgets and QML plugins) I only get a black screen instead of the web content. Does anyone have information whether QtWebEngine should work ok or not with Qt 5.4.2, or is some particular configuration etc. required?

Best regards,

Andreas Enbacka

#1 lore raw

Which backend are you using? What I experienced with i.MX6 is that the qtwebengine wasn't working with the eglfs backend, but with wayland it was working fine. I have to admit I used Qt 5.5 and kernel 3.14 (from Freescale).

2016-01-04 13:30 GMT+01:00 Andreas Enbacka <[email protected]>:

Quoted 28 lines

Hello,

I have been able to get Qt 5.4.2 to work with Yocto 1.8 and kernel 3.10.53 for Kontron SMARC sAMX6i. In general, it seems to work quite well, however I have issues with the QtWebEngine module. With QtWebKit I am able to get web pages rendered to display, however when I tried to use QtWebEngine (both using QtWebEngineWidgets and QML plugins) I only get a black screen instead of the web content. Does anyone have information whether QtWebEngine should work ok or not with Qt 5.4.2, or is some particular configuration etc. required?

Best regards,

Andreas Enbacka

--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#2 lore raw

I am using Eglfs backend. What is easiest way to switch to wayland backend instead

Regards,
Andreas Enbacka

Quoted 36 lines

4 jan. 2016 kl. 18:24 skrev Johannes Pointner <[email protected]>:

Which backend are you using? What I experienced with i.MX6 is that the qtwebengine wasn't working with the eglfs backend, but with wayland it was working fine. I have to admit I used Qt 5.5 and kernel 3.14 (from Freescale).

2016-01-04 13:30 GMT+01:00 Andreas Enbacka <[email protected]>:

Quoted 28 lines

Hello,

I have been able to get Qt 5.4.2 to work with Yocto 1.8 and kernel 3.10.53 for Kontron SMARC sAMX6i. In general, it seems to work quite well, however I have issues with the QtWebEngine module. With QtWebKit I am able to get web pages rendered to display, however when I tried to use QtWebEngine (both using QtWebEngineWidgets and QML plugins) I only get a black screen instead of the web content. Does anyone have information whether QtWebEngine should work ok or not with Qt 5.4.2, or is some particular configuration etc. required?

Best regards,

Andreas Enbacka

--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#3 lore raw

I don't know what image you are using, but I would think that you have to build a system like the core-image-weston and set wayland as qt backend for the build. Of course you use your own image but then you have to add the depencies for wayland and weston.

2016-01-04 17:46 GMT+01:00 Andreas Enbacka <[email protected]>:

Quoted 41 lines

I am using Eglfs backend. What is easiest way to switch to wayland backend instead

Regards,
Andreas Enbacka

Quoted 36 lines

4 jan. 2016 kl. 18:24 skrev Johannes Pointner <[email protected]>:

Which backend are you using? What I experienced with i.MX6 is that the qtwebengine wasn't working with the eglfs backend, but with wayland it was working fine. I have to admit I used Qt 5.5 and kernel 3.14 (from Freescale).

2016-01-04 13:30 GMT+01:00 Andreas Enbacka <[email protected]>:

Quoted 28 lines

Hello,

I have been able to get Qt 5.4.2 to work with Yocto 1.8 and kernel 3.10.53 for Kontron SMARC sAMX6i. In general, it seems to work quite well, however I have issues with the QtWebEngine module. With QtWebKit I am able to get web pages rendered to display, however when I tried to use QtWebEngine (both using QtWebEngineWidgets and QML plugins) I only get a black screen instead of the web content. Does anyone have information whether QtWebEngine should work ok or not with Qt 5.4.2, or is some particular configuration etc. required?

Best regards,

Andreas Enbacka

--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale