From pszlendak at dcclabs.tv Fri Oct 17 09:38:50 2014 From: pszlendak at dcclabs.tv (pszlendak at dcclabs.tv) Date: Fri, 17 Oct 2014 09:38:50 +0200 (CEST) Subject: [Qtwebengine] QtWebEngine on embedded linux (broadcom mips with OpenES 2.0) displays black rectangles Message-ID: Hi Guys, First of all, great work of integrating chromium into Qt. This is huge and we are looking forward to using it on our platform. As far as using is concerned... we have just compiled the most recent Qt 5.4 sources (including QtWebEngine) and sadly it does not work out-of-the-box. The websites render with black rectangles in place of images/divs. For example the following HTML:
renders with blue background body (this is ok) and black rectangle in place of the div (not ok). This happens on all the websites. Any tips on the possible cause of this behavior? Or where we can start debugging? Our QPA backend is EGLFS with OpenES 2.0. Best regards, Pawel Szlendak From jocelyn.turcotte at digia.com Mon Oct 20 11:47:03 2014 From: jocelyn.turcotte at digia.com (Jocelyn Turcotte) Date: Mon, 20 Oct 2014 11:47:03 +0200 Subject: [Qtwebengine] QtWebEngine on embedded linux (broadcom mips with OpenES 2.0) displays black rectangles In-Reply-To: References: Message-ID: <20141020094703.GA9034@poutine.it.local> Hello Pawel, On Fri, Oct 17, 2014 at 09:38:50AM +0200, pszlendak at dcclabs.tv wrote: > Hi Guys, > > First of all, great work of integrating chromium into Qt. This is huge and we are looking forward to using it on our platform. > As far as using is concerned... we have just compiled the most recent Qt 5.4 sources (including QtWebEngine) and sadly it does not work out-of-the-box. > > The websites render with black rectangles in place of images/divs. For example the following HTML: > > > >
> > > > renders with blue background body (this is ok) and black rectangle in place of the div (not ok). This happens on all the websites. > > Any tips on the possible cause of this behavior? Or where we can start debugging? > > Our QPA backend is EGLFS with OpenES 2.0. Since the div is probably not a compositing layer, this might have more to do with Skia than with Qt or OpenGL. We haven't tried very hard to get QtWebEngine or Chromium running on MIPS yet, if this is related to Skia you might have to dig a bit to find the cause. Personally I would start digging around ResourceProvider::TransferResource since this is where the texture ID is handed out to Qt through a mailbox, but the problem is probably very far from there. A RasterWorkerPool seems to be the one doing the previous step, and I assume that you could dump the produced tile pixels to a png on disk to see if already at this point your div is produced with the wrong color. It seems like they already ship the Chrome WebView on MIPS for Android, it might be worth looking at the configuration that they use there and try to match it as much as possible too. Cheers, Jocelyn From Einar.Bjorgvinsson at marel.com Tue Oct 21 16:18:16 2014 From: Einar.Bjorgvinsson at marel.com (=?iso-8859-1?Q?Einar_M=E1r_Bj=F6rgvinsson?=) Date: Tue, 21 Oct 2014 14:18:16 +0000 Subject: [Qtwebengine] Cross-compiling qtwebengine for i.MX6Q Message-ID: <76E1146DEE728E4E95C1C6D1EEA1DBA9E50D31E0@GRBSR0004.marel.net> hi I was wondering when it will be supported to cross-compile qtwebengine on Linux ? as far as I know then it can't be right now ? is this maybe supported already in Yocto ? I have an i.MX6Q board that I would like to try out the engine, especially the example browsers. regards Einar -------------- next part -------------- An HTML attachment was scrubbed... URL: From tyapkov at gmail.com Sun Oct 26 08:57:25 2014 From: tyapkov at gmail.com (=?UTF-8?B?0KLRj9C/0LrQvtCyINCQ0LvQtdC60YHQsNC90LTRgA==?=) Date: Sun, 26 Oct 2014 11:57:25 +0400 Subject: [Qtwebengine] qtwebengine error Message-ID: Hi I am running QtWebengine from Qt 5.4 Alpha and have one problem, which is probably connected to Chronium itself. In one of the builds when I am trying to setUrl on QWebengineview it gives me: [1026/103827:FATAL:visitedlink_master.h(439)] Check failed: used_count == used_items_ (34 vs. 32) In one of the old discussion about Chronium I have read that if to remove one of the config files the problem goes away. The question is where are the config files when I am building from Qt? Best regards, Alexander -------------- next part -------------- An HTML attachment was scrubbed... URL: From jocelyn.turcotte at digia.com Mon Oct 27 11:56:19 2014 From: jocelyn.turcotte at digia.com (Jocelyn Turcotte) Date: Mon, 27 Oct 2014 11:56:19 +0100 Subject: [Qtwebengine] Cross-compiling qtwebengine for i.MX6Q In-Reply-To: <76E1146DEE728E4E95C1C6D1EEA1DBA9E50D31E0@GRBSR0004.marel.net> References: <76E1146DEE728E4E95C1C6D1EEA1DBA9E50D31E0@GRBSR0004.marel.net> Message-ID: <20141027105619.GB9034@poutine.it.local> Hello Einar, this isn't currently working out of the box, but getting this to work is currently on the roadmap for 5.5 according to the information I have. Cheers, Jocelyn On Tue, Oct 21, 2014 at 02:18:16PM +0000, Einar Már Björgvinsson wrote: > hi > > I was wondering when it will be supported to cross-compile qtwebengine on Linux ? as far as I know then it can't be right now ? is this maybe supported already in Yocto ? > I have an i.MX6Q board that I would like to try out the engine, especially the example browsers. > > regards > Einar > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine From Einar.Bjorgvinsson at marel.com Fri Oct 24 10:51:59 2014 From: Einar.Bjorgvinsson at marel.com (=?iso-8859-1?Q?Einar_M=E1r_Bj=F6rgvinsson?=) Date: Fri, 24 Oct 2014 08:51:59 +0000 Subject: [Qtwebengine] Cross-compiling qtwebengine for i.MX6Q In-Reply-To: <76E1146DEE728E4E95C1C6D1EEA1DBA9E50D31E0@GRBSR0004.marel.net> References: <76E1146DEE728E4E95C1C6D1EEA1DBA9E50D31E0@GRBSR0004.marel.net> Message-ID: <76E1146DEE728E4E95C1C6D1EEA1DBA9E50D6F3F@GRBSR0004.marel.net> Am I maybe mistaken that it can't be cross-compiled ? if not what are the command line options for it because if I try to run it manually with qmake and make it complains about missing packages like udev and others which I already have, i.e.: Updating projects from gyp files... Package libudev was not found in the pkg-config search path. Perhaps you should add the directory containing `libudev.pc' to the PKG_CONFIG_PATH environment variable No package 'libudev' found Rest of Qt5.4-beta has been compiled and tested fine. regards Einar ________________________________ From: Einar Már Björgvinsson Sent: Tuesday, October 21, 2014 2:18 PM To: qtwebengine at qt-project.org Subject: Cross-compiling qtwebengine for i.MX6Q hi I was wondering when it will be supported to cross-compile qtwebengine on Linux ? as far as I know then it can't be right now ? is this maybe supported already in Yocto ? I have an i.MX6Q board that I would like to try out the engine, especially the example browsers. regards Einar -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andras.Becsi at theqtcompany.com Mon Oct 27 12:35:10 2014 From: Andras.Becsi at theqtcompany.com (Becsi Andras) Date: Mon, 27 Oct 2014 11:35:10 +0000 Subject: [Qtwebengine] Cross-compiling qtwebengine for i.MX6Q In-Reply-To: <76E1146DEE728E4E95C1C6D1EEA1DBA9E50D6F3F@GRBSR0004.marel.net> References: <76E1146DEE728E4E95C1C6D1EEA1DBA9E50D31E0@GRBSR0004.marel.net> <76E1146DEE728E4E95C1C6D1EEA1DBA9E50D6F3F@GRBSR0004.marel.net> Message-ID: <13D91473-2011-4886-A587-9C5688E30374@theqtcompany.com> Hi Einar, Cross-compiling QtWebEngine in Qt 5.4 is fully only supported with the Qt Enterprise Embedded SDK and platforms, so you will be on your own with vanilla yocto, which is on the roadmap for 5.5, as Jocelyn pointed out. That said, in general you would only have to use qmake && make with a cross-compilation toolchain and install potentially missing packages, like for example libudev as it is pointed out in the message you get. /Andras On 24 Oct 2014, at 10:51 , Einar Már Björgvinsson > wrote: Am I maybe mistaken that it can't be cross-compiled ? if not what are the command line options for it because if I try to run it manually with qmake and make it complains about missing packages like udev and others which I already have, i.e.: Updating projects from gyp files... Package libudev was not found in the pkg-config search path. Perhaps you should add the directory containing `libudev.pc' to the PKG_CONFIG_PATH environment variable No package 'libudev' found Rest of Qt5.4-beta has been compiled and tested fine. regards Einar ________________________________ From: Einar Már Björgvinsson Sent: Tuesday, October 21, 2014 2:18 PM To: qtwebengine at qt-project.org Subject: Cross-compiling qtwebengine for i.MX6Q hi I was wondering when it will be supported to cross-compile qtwebengine on Linux ? as far as I know then it can't be right now ? is this maybe supported already in Yocto ? I have an i.MX6Q board that I would like to try out the engine, especially the example browsers. regards Einar _______________________________________________ QtWebEngine mailing list QtWebEngine at qt-project.org http://lists.qt-project.org/mailman/listinfo/qtwebengine -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andras.Becsi at theqtcompany.com Mon Oct 27 12:41:10 2014 From: Andras.Becsi at theqtcompany.com (Becsi Andras) Date: Mon, 27 Oct 2014 11:41:10 +0000 Subject: [Qtwebengine] Cross-compiling qtwebengine for i.MX6Q In-Reply-To: <13D91473-2011-4886-A587-9C5688E30374@theqtcompany.com> References: <76E1146DEE728E4E95C1C6D1EEA1DBA9E50D31E0@GRBSR0004.marel.net> <76E1146DEE728E4E95C1C6D1EEA1DBA9E50D6F3F@GRBSR0004.marel.net> <13D91473-2011-4886-A587-9C5688E30374@theqtcompany.com> Message-ID: <0A7ED9EE-6858-41D3-99EA-7E9B537B2AC9@theqtcompany.com> Hi, On 27 Oct 2014, at 12:35 , Becsi Andras > wrote: Hi Einar, Cross-compiling QtWebEngine in Qt 5.4 is fully only supported with the Qt Enterprise Embedded SDK and platforms, so you will be on your own with vanilla yocto, which is on the roadmap for 5.5, as Jocelyn pointed out. That said, in general you would only have to use qmake && make with a cross-compilation toolchain and install potentially missing packages, like for example libudev as it is pointed out in the message you get. To be more precise here, you miss the libudev-dev package (not sure how it’s packaged in yocto). /Andras On 24 Oct 2014, at 10:51 , Einar Már Björgvinsson > wrote: Am I maybe mistaken that it can't be cross-compiled ? if not what are the command line options for it because if I try to run it manually with qmake and make it complains about missing packages like udev and others which I already have, i.e.: Updating projects from gyp files... Package libudev was not found in the pkg-config search path. Perhaps you should add the directory containing `libudev.pc' to the PKG_CONFIG_PATH environment variable No package 'libudev' found Rest of Qt5.4-beta has been compiled and tested fine. regards Einar ________________________________ From: Einar Már Björgvinsson Sent: Tuesday, October 21, 2014 2:18 PM To: qtwebengine at qt-project.org Subject: Cross-compiling qtwebengine for i.MX6Q hi I was wondering when it will be supported to cross-compile qtwebengine on Linux ? as far as I know then it can't be right now ? is this maybe supported already in Yocto ? I have an i.MX6Q board that I would like to try out the engine, especially the example browsers. regards Einar _______________________________________________ QtWebEngine mailing list QtWebEngine at qt-project.org http://lists.qt-project.org/mailman/listinfo/qtwebengine -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andras.Becsi at theqtcompany.com Mon Oct 27 13:23:15 2014 From: Andras.Becsi at theqtcompany.com (Becsi Andras) Date: Mon, 27 Oct 2014 12:23:15 +0000 Subject: [Qtwebengine] Cross-compiling qtwebengine for i.MX6Q In-Reply-To: <76E1146DEE728E4E95C1C6D1EEA1DBA9E50DE04D@GRBSR0004.marel.net> References: <76E1146DEE728E4E95C1C6D1EEA1DBA9E50D31E0@GRBSR0004.marel.net> <76E1146DEE728E4E95C1C6D1EEA1DBA9E50D6F3F@GRBSR0004.marel.net> <13D91473-2011-4886-A587-9C5688E30374@theqtcompany.com> <,<0A7ED9EE-6858-41D3-99EA-7E9B537B2AC9@theqtcompany.com> <>> <76E1146DEE728E4E95C1C6D1EEA1DBA9E50DE04D@GRBSR0004.marel.net> Message-ID: Hi, On 27 Oct 2014, at 13:06 , Einar Már Björgvinsson > wrote: Hi there and thank you for your support. I have compiled Qt5.4 framework successfully which does compile against the udev on my host. I think it is a failure in the qtwebengine to detect installed package. The problem is that I'm not to familiar with Gyp so it will take me some time to sort this out and have it compiled. Am I understanding you correctly by assuming the project can be built as it is provided by Qt5.4-beta ? or do I need to refer to Yocto in order to have it compiled for now ? As said there is no support for QtWebEngine with Yocto, and there won’t be with Qt 5.4, so it might or might not compile. You could try compiling the 1.0 branch from git, since there has been some OpenEmbedded fixes, which AFAIK did not make it into the beta and might fix your build, but there is no guarantee. /Andras ________________________________ From: Becsi Andras [Andras.Becsi at theqtcompany.com] Sent: Monday, October 27, 2014 11:41 AM To: Einar Már Björgvinsson Cc: qtwebengine at qt-project.org Subject: Re: [Qtwebengine] Cross-compiling qtwebengine for i.MX6Q Hi, On 27 Oct 2014, at 12:35 , Becsi Andras > wrote: Hi Einar, Cross-compiling QtWebEngine in Qt 5.4 is fully only supported with the Qt Enterprise Embedded SDK and platforms, so you will be on your own with vanilla yocto, which is on the roadmap for 5.5, as Jocelyn pointed out. That said, in general you would only have to use qmake && make with a cross-compilation toolchain and install potentially missing packages, like for example libudev as it is pointed out in the message you get. To be more precise here, you miss the libudev-dev package (not sure how it’s packaged in yocto). /Andras On 24 Oct 2014, at 10:51 , Einar Már Björgvinsson > wrote: Am I maybe mistaken that it can't be cross-compiled ? if not what are the command line options for it because if I try to run it manually with qmake and make it complains about missing packages like udev and others which I already have, i.e.: Updating projects from gyp files... Package libudev was not found in the pkg-config search path. Perhaps you should add the directory containing `libudev.pc' to the PKG_CONFIG_PATH environment variable No package 'libudev' found Rest of Qt5.4-beta has been compiled and tested fine. regards Einar ________________________________ From: Einar Már Björgvinsson Sent: Tuesday, October 21, 2014 2:18 PM To: qtwebengine at qt-project.org Subject: Cross-compiling qtwebengine for i.MX6Q hi I was wondering when it will be supported to cross-compile qtwebengine on Linux ? as far as I know then it can't be right now ? is this maybe supported already in Yocto ? I have an i.MX6Q board that I would like to try out the engine, especially the example browsers. regards Einar _______________________________________________ QtWebEngine mailing list QtWebEngine at qt-project.org http://lists.qt-project.org/mailman/listinfo/qtwebengine -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at mknln.com Thu Oct 30 22:16:26 2014 From: me at mknln.com (Mike Nolan) Date: Thu, 30 Oct 2014 14:16:26 -0700 Subject: [Qtwebengine] Encrypted Media Extensions support? Message-ID: <60f24a8494350eb8db376a7d4b33d3ba.squirrel@webmail.mknln.com> Hello, I am wanting to know - are the Encrypted Media Extensions APIs supported? I notice that when I visit Netflix (after doing the trick to override the User Agent that you can find all over the Internet), I still see the "Whoops, something went wrong - Please update your browser" message. Yet at the same time I noticed some hints that it will be supported (e.g., the presence of the file ./third_party/WebKit/Source/platform/drm/ContentDecryptionModule.h) and know that it works already in Chrome. I also should note that I built the slightly-older 0.9 branch of qtwebengine because I am currently using Qt 5.3. Given the above, can I expect the EME extensions to be enabled eventually, or can they even be made to work now with some step I am missing? Thanks, Mike From Andras.Becsi at theqtcompany.com Fri Oct 31 09:19:53 2014 From: Andras.Becsi at theqtcompany.com (Becsi Andras) Date: Fri, 31 Oct 2014 08:19:53 +0000 Subject: [Qtwebengine] Encrypted Media Extensions support? In-Reply-To: <60f24a8494350eb8db376a7d4b33d3ba.squirrel@webmail.mknln.com> References: <60f24a8494350eb8db376a7d4b33d3ba.squirrel@webmail.mknln.com> Message-ID: Hi Mike, > On 30 Oct 2014, at 22:16 , Mike Nolan wrote: > > Hello, > > I am wanting to know - are the Encrypted Media Extensions APIs supported? > > I notice that when I visit Netflix (after doing the trick to override the > User Agent that you can find all over the Internet), I still see the > "Whoops, something went wrong - Please update your browser" message. Yet > at the same time I noticed some hints that it will be supported (e.g., the > presence of the file > ./third_party/WebKit/Source/platform/drm/ContentDecryptionModule.h) and > know that it works already in Chrome. > > I also should note that I built the slightly-older 0.9 branch of > qtwebengine because I am currently using Qt 5.3. > > Given the above, can I expect the EME extensions to be enabled eventually, > or can they even be made to work now with some step I am missing? > It won’t be supported in the Qt 5.4 release, and as far as I know we do not have EME support on our roadmap at this point. The integration and the Qt-side implementation is completely missing for this feature. The reason you found the mentioned header is that we only strip our snapshot from major unused modules that are well isolated, and where the removal does not hurt maintainability. /Andras