From ville.voipio at iki.fi Wed Aug 3 19:00:55 2016 From: ville.voipio at iki.fi (Ville Voipio) Date: Wed, 3 Aug 2016 20:00:55 +0300 Subject: [Qtwebengine] Qt5.7 QtWebEngine and ARMv8 (RPi3) Message-ID: QtWebEngine (and Chromium) seem to be slightly challenging to compile with ARMv8 (32-bit) settings, more specifically for Cortex A53. The mkspec file (mkspecs/devices/linux-rpi3-g++/qmake.conf) defines the processor compile flags as: QMAKE_CFLAGS = -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 This seems to be the correct combination for ARM A53. Compiling QtCore gives no complaints, but there are at least three different problems with QtWebEngine (two of them fatal from the build point of view). 1. specifying arm-version="8" will crash the compilation due to unknown architecture errors 2. the build system does not recognize crypto-neon-fp-armv8 as a NEON capable architecture (this will crash the linking complaining the lack of sk_cpu_arm_has_neon(), see SkUtilsArm.h in skia). 3. there are a lot of warnings about deprecated IT blocks in ARMv8 I was able to compile QtWebEngine by patching qtwebengine/src/core/gyp_run.pro, but my patches are very ugly and do not really address the underlying problems. Problem #1: arm_version="8" The first problem is fixed by a small addition to gyp_run.pro: lessThan(MARMV, 6): error("$MARCH architecture is not supported") else: equals(MARMV, 7): GYP_CONFIG += arm_version=\"$MARMV\" else: GYP_CONFIG += arm_version=\"7\" Now ARMv8 (and higher) will set arm_version="7", whereas the original code set arm_version="8". (This should really be solved deeper down, and this is certainly not future-proof.) Problem #2: NEON support not detected The NEON problem is caused by the NEON detection in gyp_run.pro. The code can be patched by adding one more condition (the last one): contains(MFPU, "neon")|contains(MFPU, "neon-vfpv4")|contains(MFPU, "crypto-neon-fp-armv8") Now the FPU flag crypto-neon-fp-armv8 is recognized as a NEON capable processor. However, the detection method is still a bit flaky, as there are a number of other strings which should qualify here (as per the compiler ARM-specific flag descriptions). This problem could and possibly should be fixed in some other places, as well. ARMv8 processors are always NEON-capable, and thus the following lines in skia_common.gypi seem to be wrong: [ 'target_arch == "arm" and arm_version >= 7 and arm_neon == 0 and arm_neon_optional == 1’, { 'defines': [ 'SK_ARM_HAS_OPTIONAL_NEON', ], }], ], All in all, it does not seem to be completely clear where the problem should really be solved. Problem #3: Deprecated IT block warnings ARMv8 (in 32-bit mode) will accept any binary which is acceptable by ARMv7, so there cannot be any instructions which would not work. The warnings are about deprecated (not eliminated) machine code instructions. However, there are hundreds (thousands?) of these warnings during compilation, and possibly something should be done. The deprecated code is most probably inline assembly code, as the C compiler should not emit deprecated code. Questions Now we come to the tricky part. Everything compiles, but only with ugly tricks. So: * Is there anything Qt can or should do about this? Or should these just be reported to the Chromum people? * Should the architecture be set to ARMv7 even with RPi3 until the Chromium code is fixed? * If yes, is there a way to do it only for QtWebEngine (instead of the complete Qt distribution) * Alternatively, should we just decide that all RPi3 code is better compiled with RPi2 settings (this will leave some optimizations aside) and change the mkspec file accordingly? TIA, - Ville From lutfi.dwedari at pds.nl Wed Aug 10 00:26:07 2016 From: lutfi.dwedari at pds.nl (Lutfi Dwedari) Date: Tue, 9 Aug 2016 22:26:07 +0000 Subject: [Qtwebengine] Windows authentication not working with QtWebEngine Message-ID: Hi, I've posted this message in the QT forum but I've been suggested to post this here instead. I've built the WebEngineWidgets Browser example. It is working for HTTP and HTTPS. But if I try to access a page that requires windows authentication it asks to enter user name and password instead of picking the logged in credentials. With WebKit the windows credentials were picked without having to configure anything at all. Serching the internet I've not been able to find any example that solves this. My guess is that the authenticationRequest should not emit, but it does. I need the authentication to work with Kerberos/Negotiate. Any ideas on how to make QtWebEngine work with windows credentials? Thanks. Lutfi -------------- next part -------------- An HTML attachment was scrubbed... URL: From Kai.Koehne at qt.io Wed Aug 10 09:58:20 2016 From: Kai.Koehne at qt.io (Kai Koehne) Date: Wed, 10 Aug 2016 07:58:20 +0000 Subject: [Qtwebengine] Windows authentication not working with QtWebEngine In-Reply-To: References: Message-ID: Hi, Are you on Linux? Then this is tracked in https://bugreports.qt.io/browse/QTBUG-51082 . Regards Kai > -----Original Message----- > From: QtWebEngine [mailto:qtwebengine-bounces+kai.koehne=qt.io at qt- > project.org] On Behalf Of Lutfi Dwedari > Sent: Wednesday, August 10, 2016 12:26 AM > To: QtWebEngine at qt-project.org > Subject: [Qtwebengine] Windows authentication not working with > QtWebEngine > > Hi, > > I’ve posted this message in the QT forum but I’ve been suggested to post > this here instead. > > I've built the WebEngineWidgets Browser example. It is working for HTTP and > HTTPS. > But if I try to access a page that requires windows authentication it asks to > enter user name and password instead of picking the logged in credentials. > With WebKit the windows credentials were picked without having to > configure anything at all. > Serching the internet I've not been able to find any example that solves this. > My guess is that the authenticationRequest should not emit, but it does. > I need the authentication to work with Kerberos/Negotiate. > > Any ideas on how to make QtWebEngine work with windows credentials? > > Thanks. > > Lutfi From lutfi.dwedari at pds.nl Wed Aug 10 10:16:13 2016 From: lutfi.dwedari at pds.nl (Lutfi Dwedari) Date: Wed, 10 Aug 2016 08:16:13 +0000 Subject: [Qtwebengine] Windows authentication not working with QtWebEngine In-Reply-To: References: Message-ID: Hi Kai, Thanks for replying. No, I'm in Windows. But it is good to know that Kerberos is not working in Linux either. Lutfi -----Original Message----- From: Kai Koehne [mailto:Kai.Koehne at qt.io] Sent: 10 August 2016 09:58 To: Lutfi Dwedari; QtWebEngine at qt-project.org Subject: RE: Windows authentication not working with QtWebEngine Hi, Are you on Linux? Then this is tracked in https://bugreports.qt.io/browse/QTBUG-51082 . Regards Kai > -----Original Message----- > From: QtWebEngine [mailto:qtwebengine-bounces+kai.koehne=qt.io at qt- > project.org] On Behalf Of Lutfi Dwedari > Sent: Wednesday, August 10, 2016 12:26 AM > To: QtWebEngine at qt-project.org > Subject: [Qtwebengine] Windows authentication not working with > QtWebEngine > > Hi, > > I’ve posted this message in the QT forum but I’ve been suggested to > post this here instead. > > I've built the WebEngineWidgets Browser example. It is working for > HTTP and HTTPS. > But if I try to access a page that requires windows authentication it > asks to enter user name and password instead of picking the logged in credentials. > With WebKit the windows credentials were picked without having to > configure anything at all. > Serching the internet I've not been able to find any example that solves this. > My guess is that the authenticationRequest should not emit, but it does. > I need the authentication to work with Kerberos/Negotiate. > > Any ideas on how to make QtWebEngine work with windows credentials? > > Thanks. > > Lutfi From tgl at ivu.de Wed Aug 17 14:06:55 2016 From: tgl at ivu.de (Tassilo Glander) Date: Wed, 17 Aug 2016 12:06:55 +0000 Subject: [Qtwebengine] where is QtWebengine looking for ICU resources? In-Reply-To: <8E71479CD010574DAC0634D4695F0BFCD2D8BC1D@exch-bln01> References: <8E71479CD010574DAC0634D4695F0BFCD2D8BC1D@exch-bln01> Message-ID: <8E71479CD010574DAC0634D4695F0BFCD2D93181@exch-bln01> To answer my question: It seems to use a hardcoded list of locations and finally looks in the prefix directory set in the qt.conf file that lies next to the executable, if present, e.g. [Paths] Prefix=C:/dev/someProject/external/qt Apparently the QTDIR environment variable is not part of this list, which I thought was a way of specifying the location. Would it be sensible to add it to the search list? Is there a third option (apart from adding the qt.conf file or the resources directory )? Best, Tassilo > -----Ursprüngliche Nachricht----- > Von: QtWebEngine [mailto:qtwebengine-bounces+tgl=ivu.de at qt-project.org] > Im Auftrag von Tassilo Glander > Gesendet: Freitag, 8. Juli 2016 15:58 > An: qtwebengine at qt-project.org > Betreff: [Qtwebengine] where is QtWebengine looking for ICU resources? > > Hi, > > I want to check in a prebuilt version of Qt into our repository so my colleagues > can use it. The problem is, that on startup QtWebengine searches for ICU > resource files in the application directory. As we probably have multiple > applications, I would prefer to not always copy the resources and translations > directories to each application directory. > > Is there a way to give a specific path where to look for those directories > (environment variable, hard coded)? How is it working when I install the official > build, in this case the resources and translations are just parallel to the bin > directory. > > BTW, I did not configure QT regarding ICU, I assume the default is to build and > use the ICU version that comes with Chromium. > > Thanks, > Tassilo > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine From cleitonrbueno at gmail.com Mon Aug 22 01:39:28 2016 From: cleitonrbueno at gmail.com (Cleiton Bueno) Date: Sun, 21 Aug 2016 20:39:28 -0300 Subject: [Qtwebengine] Problem allow webcamera/microphone Message-ID: Because in QtWebEngine 5.6 the onFeaturePermissionRequested does not work anymore? I can not release microphone and camera using this slot. *Att,Cleiton Bueno* Blog | Linkedin | B2Open -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexandru.croitor at qt.io Mon Aug 22 09:43:09 2016 From: alexandru.croitor at qt.io (Alexandru Croitor) Date: Mon, 22 Aug 2016 07:43:09 +0000 Subject: [Qtwebengine] Problem allow webcamera/microphone In-Reply-To: References: Message-ID: <737F03D2-C351-4F09-AE36-2A0E1CB6550B@qt.io> Hi, Could you create a bug report on https://bugreports.qt.io for the WebEngine component, together with a small example that reproduce the problem? Regards, Alex. On 22 Aug 2016, at 01:39, Cleiton Bueno > wrote: Because in QtWebEngine 5.6 the onFeaturePermissionRequested does not work anymore? I can not release microphone and camera using this slot. Att, Cleiton Bueno Blog | Linkedin | B2Open _______________________________________________ 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 cleitonrbueno at gmail.com Mon Aug 22 15:50:33 2016 From: cleitonrbueno at gmail.com (Cleiton Bueno) Date: Mon, 22 Aug 2016 10:50:33 -0300 Subject: [Qtwebengine] Problem allow webcamera/microphone In-Reply-To: <737F03D2-C351-4F09-AE36-2A0E1CB6550B@qt.io> References: <737F03D2-C351-4F09-AE36-2A0E1CB6550B@qt.io> Message-ID: Perfect. I'll be doing today. 2016-08-22 4:43 GMT-03:00 Alexandru Croitor : > Hi, > > Could you create a bug report on https://bugreports.qt.io for the > WebEngine component, together with a small example that reproduce the > problem? > > Regards, Alex. > > On 22 Aug 2016, at 01:39, Cleiton Bueno wrote: > > Because in QtWebEngine 5.6 the onFeaturePermissionRequested does not work > anymore? I can not release microphone and camera using this slot. > > > > > *Att, Cleiton Bueno* > > Blog | Linkedin > | B2Open > > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine > > > -- *Att,Cleiton Bueno* Blog | Linkedin | B2Open | Portal Embarcados -------------- next part -------------- An HTML attachment was scrubbed... URL: From bryan.chan at pacbell.net Mon Aug 22 19:18:13 2016 From: bryan.chan at pacbell.net (Bryan Chan) Date: Mon, 22 Aug 2016 17:18:13 +0000 (UTC) Subject: [Qtwebengine] Memory shared between main application and qtwebengineprocess.exe References: <692820994.356331.1471886293950.ref@mail.yahoo.com> Message-ID: <692820994.356331.1471886293950@mail.yahoo.com> Hi, I'm running the snippet of code below.  I'm on a 4k monitor with dpi set to 200%. As I resize the window back and forth and then hit maximize, I notice my free memory dropping by hundreds of MB at a time. If I keep doing this non-stop I eventually will run out of free memory on the main process. Sometimes the qtwebengineprocess will crash and I will get all the free memory back. Now if I do a resize then let the application sit, some but not all of the free memory comes back. This also happens on a 1920x1080 screen with no scaling, but just at a much slower rate. Has anyone seen this behavior or know where I can look in the qt code to investigate this further? #include #include int main(int argc, char *argv[]){    QApplication app(argc, argv);     QWebEngineView view;    view.setUrl(QUrl(QStringLiteral("http://www.qt.io")));    view.resize(1024, 750);    view.show();     return app.exec();} ThanksBryan -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexandru.croitor at qt.io Tue Aug 23 10:17:00 2016 From: alexandru.croitor at qt.io (Alexandru Croitor) Date: Tue, 23 Aug 2016 08:17:00 +0000 Subject: [Qtwebengine] Memory shared between main application and qtwebengineprocess.exe In-Reply-To: <692820994.356331.1471886293950@mail.yahoo.com> References: <692820994.356331.1471886293950.ref@mail.yahoo.com> <692820994.356331.1471886293950@mail.yahoo.com> Message-ID: <29E54395-BD46-401D-9076-F188565F1285@qt.io> Hi, Could you submit a bug report for the WebEngine component on https://bugreports.qt.io, and provide details to the version of Qt used as well as the platform you are running it on? Regards, Alex. On 22 Aug 2016, at 19:18, Bryan Chan > wrote: Hi, I'm running the snippet of code below. I'm on a 4k monitor with dpi set to 200%. As I resize the window back and forth and then hit maximize, I notice my free memory dropping by hundreds of MB at a time. If I keep doing this non-stop I eventually will run out of free memory on the main process. Sometimes the qtwebengineprocess will crash and I will get all the free memory back. Now if I do a resize then let the application sit, some but not all of the free memory comes back. This also happens on a 1920x1080 screen with no scaling, but just at a much slower rate. Has anyone seen this behavior or know where I can look in the qt code to investigate this further? #include #include int main(int argc, char *argv[]) { QApplication app(argc, argv); QWebEngineView view; view.setUrl(QUrl(QStringLiteral("http://www.qt.io"))); view.resize(1024, 750); view.show(); return app.exec(); } Thanks Bryan _______________________________________________ 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 cleitonrbueno at gmail.com Thu Aug 25 16:40:28 2016 From: cleitonrbueno at gmail.com (Cleiton Bueno) Date: Thu, 25 Aug 2016 11:40:28 -0300 Subject: [Qtwebengine] Problem allow webcamera/microphone In-Reply-To: <737F03D2-C351-4F09-AE36-2A0E1CB6550B@qt.io> References: <737F03D2-C351-4F09-AE36-2A0E1CB6550B@qt.io> Message-ID: Open ticket in bug report: https://bugreports.qt.io/browse/QTBUG-55483 2016-08-22 4:43 GMT-03:00 Alexandru Croitor : > Hi, > > Could you create a bug report on https://bugreports.qt.io for the > WebEngine component, together with a small example that reproduce the > problem? > > Regards, Alex. > > On 22 Aug 2016, at 01:39, Cleiton Bueno wrote: > > Because in QtWebEngine 5.6 the onFeaturePermissionRequested does not work > anymore? I can not release microphone and camera using this slot. > > > > > *Att, Cleiton Bueno* > > Blog | Linkedin > | B2Open > > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine > > > -- *Att,Cleiton Bueno* Blog | Linkedin | B2Open | Portal Embarcados -------------- next part -------------- An HTML attachment was scrubbed... URL: From maitredede at gmail.com Tue Aug 30 07:11:50 2016 From: maitredede at gmail.com (Damien) Date: Tue, 30 Aug 2016 16:11:50 +1100 Subject: [Qtwebengine] Qt5.7 webengine on raspberry pi Message-ID: Hi, I didn't found any information (or didn't search enough), but I would like to know if qt5.7 can be compiled on Raspberry Pi with QtWebEngine, preferably with a not-entreprise licence, with a basic simple walktrough.. I am trying to develop a C++ app that displays web pages, and exposes native objects through javascript. If QtWebEngine is not a good tool, what can be the alternatives ? Thanks :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at the-compiler.org Tue Aug 30 08:11:35 2016 From: me at the-compiler.org (Florian Bruhin) Date: Tue, 30 Aug 2016 08:11:35 +0200 Subject: [Qtwebengine] Qt5.7 webengine on raspberry pi In-Reply-To: References: Message-ID: <20160830061135.ebfred4jgph4oxup@tonks> * Damien [2016-08-30 16:11:50 +1100]: > I didn't found any information (or didn't search enough), but I would like > to know if qt5.7 can be compiled on Raspberry Pi with QtWebEngine, > preferably with a not-entreprise licence, with a basic simple walktrough.. Not sure if you can compile it on a Raspi natively, you might need to cross-compile. Unfortunately cross-compiling and simple usually don't mix, in my experience... > I am trying to develop a C++ app that displays web pages, and exposes > native objects through javascript. If QtWebEngine is not a good tool, what > can be the alternatives ? Honestly, if you don't mind switching distros on your Raspi, the most painless way to get QtWebEngine (which surely would be a good fit) until Debian packages it would be using ArchlinuxARM. There it's simply available as a binary package: https://archlinuxarm.org/packages/armv7h/qt5-webengine Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: