From euroelessar at yandex.ru Sat Nov 1 22:57:51 2014 From: euroelessar at yandex.ru (Ruslan Nigmatullin) Date: Sat, 01 Nov 2014 14:57:51 -0700 Subject: [Qtwebengine] Qt Style support Message-ID: <4943061414879071@web13h.yandex.ru> Hi all, Currently QtWebEngine ignores Qt styles and uses Chromium's one which leads to non-native look&feel. Are there any plans at this direction? Ruslan From andras.becsi at theqtcompany.com Tue Nov 4 14:19:21 2014 From: andras.becsi at theqtcompany.com (Andras Becsi) Date: Tue, 4 Nov 2014 14:19:21 +0100 Subject: [Qtwebengine] Qt Style support In-Reply-To: <4943061414879071@web13h.yandex.ru> References: <4943061414879071@web13h.yandex.ru> Message-ID: <5458D259.5050402@theqtcompany.com> Hi Ruslan, We do not have styling and non-native look&feel on our roadmap at this point. Depending on your platform you could try to adjust the underlying Aura styling of Chromium (would affect Linux and Windows, AFAIK), but it might not be feasible. /Andras On 11/01/2014 10:57 PM, Ruslan Nigmatullin wrote: > Hi all, > > Currently QtWebEngine ignores Qt styles and uses Chromium's one which leads to non-native look&feel. Are there any plans at this direction? > > Ruslan > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine > -- Best regards, András Bécsi Software Engineer | The Qt Company The Qt Company AS Sandakerveien 116 0484 Oslo, Norway Mailing address: PO Box 23 Nydalen 0410 Oslo, Norway Visit us on: http://www.qt.io From rmolla at adista.fr Fri Nov 14 11:59:05 2014 From: rmolla at adista.fr (Renaud MOLLA) Date: Fri, 14 Nov 2014 10:59:05 +0000 Subject: [Qtwebengine] Future development of WebEngine Message-ID: Hi, I'm currently porting a web based application from QWebKit to QWebEngine. I discovered that many advanced functions aren't available anymore, and therefore i can't handle downloads, external urls etc. Do you know which delegation/events that exists in webkit can i expect to appear sooner or later in WebEngine and what will never appear. Based on that, we will be available to take decision concerning the future developments of our application. Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andras.Becsi at theqtcompany.com Fri Nov 14 12:11:22 2014 From: Andras.Becsi at theqtcompany.com (Becsi Andras) Date: Fri, 14 Nov 2014 11:11:22 +0000 Subject: [Qtwebengine] Future development of WebEngine In-Reply-To: References: Message-ID: Hi Renaud, A download API is currently in the works, it will be available after 5.4. I do not know what you mean by external urls, but if you mean navigationRequested, it is already available in the Quick API of Qt 5.4, and it has been implemented for widgets in the dev branch, so it will be available with Qt 5.5. If you have a more specific list of features and use-cases you would need it would be very welcome as a feedback, also any info about whether you are using widgets or qtquick would be relevant. /Andras On 14 Nov 2014, at 11:59 , Renaud MOLLA > wrote: Hi, I’m currently porting a web based application from QWebKit to QWebEngine. I discovered that many advanced functions aren’t available anymore, and therefore i can’t handle downloads, external urls etc. Do you know which delegation/events that exists in webkit can i expect to appear sooner or later in WebEngine and what will never appear. Based on that, we will be available to take decision concerning the future developments of our application. Regards. _______________________________________________ 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 longchair69 at gmail.com Tue Nov 18 07:36:25 2014 From: longchair69 at gmail.com (LongChair69 .) Date: Tue, 18 Nov 2014 07:36:25 +0100 Subject: [Qtwebengine] Build QtWebEngine on RaspBerry Pi Message-ID: Hello, I have recently crossbuilt qt 5.4 for Raspberry Pi without much issues and its working fine. I wanted to build also QTWebEngine as it's supposed to bring some hardware acceleration over QWebView without having to use qml. Although when i start qmake from qtwebengine directory it will mention that only Linux / win / osx plaforms are maintained and therefore won't build it. I have been trying the to build the submodules differently. but the core modules rely on the 3rd party sources which have a lot of flags to define. Typically first build failure when building core is openssl under chromium that seems to fail saying that only neon or SSE2 chips are supported. Afaik QWebKit also uses chromium (maybe a different version) but builds fine. I have seen videos from qt showing webengine run on a rpi, so i suppose it's only a matter of setting the proper configuration. Has anyone already been able to find the right configuration to set and could shed some light on this ? Any hint is very welcome :) LongChair. -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at the-compiler.org Tue Nov 18 07:56:02 2014 From: me at the-compiler.org (Florian Bruhin) Date: Tue, 18 Nov 2014 07:56:02 +0100 Subject: [Qtwebengine] Build QtWebEngine on RaspBerry Pi In-Reply-To: References: Message-ID: <20141118065602.GB32338@tonks> Hi, * LongChair69 . [2014-11-18 07:36:25 +0100]: > I wanted to build also QTWebEngine as it's supposed to bring some hardware > acceleration over QWebView without having to use qml. I think you could use a QGraphicsWebView with a QGLWidget as well: http://blog.qt.digia.com/blog/2010/05/17/qtwebkit-now-accelerates-css-animations-3d-transforms/ > Afaik QWebKit also uses chromium (maybe a different version) but builds > fine. It uses Webkit (well, a fork of it essentially), which isn't directly connected to Chromium. Chromium used Webkit as well before they switched to their own "official" fork; Blink. Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG 0xFD55A072 | 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: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From Zeno.Albisser at theqtcompany.com Tue Nov 18 11:42:23 2014 From: Zeno.Albisser at theqtcompany.com (Albisser Zeno) Date: Tue, 18 Nov 2014 10:42:23 +0000 Subject: [Qtwebengine] Build QtWebEngine on RaspBerry Pi In-Reply-To: References: Message-ID: <391BD751-D30F-4EE3-82E7-285982399172@digia.com> Hi, > On 18 Nov 2014, at 07:36, LongChair69 . wrote: > > Although when i start qmake from qtwebengine directory it will mention that only Linux / win / osx plaforms are maintained and therefore won't build it. That is correct. QtWebEngine on Embedded Linux (specifically Raspberry Pi) is only supported through Qt Enterprise. Best Regards, Zeno From longchair69 at gmail.com Wed Nov 19 07:07:25 2014 From: longchair69 at gmail.com (LongChair69 .) Date: Wed, 19 Nov 2014 07:07:25 +0100 Subject: [Qtwebengine] Build QtWebEngine on RaspBerry Pi In-Reply-To: <391BD751-D30F-4EE3-82E7-285982399172@digia.com> References: <391BD751-D30F-4EE3-82E7-285982399172@digia.com> Message-ID: Oh, right i though i missed that part of the error message. Then i'll have a look at the GraphicsWebView, beeing a homebrew developper makes it hard to access Qt embedded :) Thanks for your replies !. 2014-11-18 11:42 GMT+01:00 Albisser Zeno : > Hi, > > > On 18 Nov 2014, at 07:36, LongChair69 . wrote: > > > > Although when i start qmake from qtwebengine directory it will mention > that only Linux / win / osx plaforms are maintained and therefore won't > build it. > > That is correct. QtWebEngine on Embedded Linux (specifically Raspberry Pi) > is only supported through Qt Enterprise. > > Best Regards, > > Zeno > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From longchair69 at gmail.com Wed Nov 19 13:31:08 2014 From: longchair69 at gmail.com (LongChair69 .) Date: Wed, 19 Nov 2014 13:31:08 +0100 Subject: [Qtwebengine] Build QtWebEngine on RaspBerry Pi In-Reply-To: <20141118065602.GB32338@tonks> References: <20141118065602.GB32338@tonks> Message-ID: Ok i gave it a shot with QtGraphicsWebview and the simple sample below : int main(int argc, char *argv[]) { QApplication app(argc, argv); const int width = 1900; const int height = 1000; QGraphicsScene scene; QGraphicsView view(&scene); view.setFrameShape(QFrame::NoFrame); view.setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); view.setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); QGraphicsWebView webview; webview.resize(width, height); webview.load(QUrl("http://codepen.io/paulirish/pen/LsxyF")); scene.addItem(&webview); view.resize(width, height); view.show(); return app.exec(); } the url used is a small site to test css transforms with / without acceleration. given the speed i'm hitting on this sample, it doesn't looks like it is using any HW acceleration. Is there anything that i did wrong in the sample above, or any suggestion that would explain it's not hitting hw ? As of now the only way i have been able to get some HW accel on rpi with *WebView is to use it from qml... 2014-11-18 7:56 GMT+01:00 Florian Bruhin : > Hi, > > * LongChair69 . [2014-11-18 07:36:25 +0100]: > > I wanted to build also QTWebEngine as it's supposed to bring some > hardware > > acceleration over QWebView without having to use qml. > > I think you could use a QGraphicsWebView with a QGLWidget as well: > > > http://blog.qt.digia.com/blog/2010/05/17/qtwebkit-now-accelerates-css-animations-3d-transforms/ > > > Afaik QWebKit also uses chromium (maybe a different version) but builds > > fine. > > It uses Webkit (well, a fork of it essentially), which isn't directly > connected to Chromium. Chromium used Webkit as well before they > switched to their own "official" fork; Blink. > > Florian > > -- > http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) > GPG 0xFD55A072 | http://the-compiler.org/pubkey.asc > I love long mails! | http://email.is-not-s.ms/ > > _______________________________________________ > 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 the-compiler.org Wed Nov 19 13:41:38 2014 From: me at the-compiler.org (Florian Bruhin) Date: Wed, 19 Nov 2014 13:41:38 +0100 Subject: [Qtwebengine] Build QtWebEngine on RaspBerry Pi In-Reply-To: References: <20141118065602.GB32338@tonks> Message-ID: <20141119124138.GK32338@tonks> * LongChair69 . [2014-11-19 13:31:08 +0100]: > Ok i gave it a shot with QtGraphicsWebview and the simple sample below : > > [...] > > the url used is a small site to test css transforms with / without > acceleration. > given the speed i'm hitting on this sample, it doesn't looks like it is > using any HW acceleration. > > Is there anything that i did wrong in the sample above, or any suggestion > that would explain it's not hitting hw ? I've not tried QGraphicsWebView myself yet so I'm only guessing, but maybe you need to call setViewport on the QGraphicsView with a QGLWidget? From http://qt-project.org/doc/qt-5/qgraphicsview.html : By default, QGraphicsView provides a regular QWidget for the viewport widget. You can access this widget by calling viewport(), or you can replace it by calling setViewport(). To render using OpenGL, simply call setViewport(new QGLWidget). QGraphicsView takes ownership of the viewport widget. The blog post I linked before ([1]) alsop suggests this: - Setting the QGraphicsView’s viewportUpdateMode to BoundingRectViewportUpdate Florian [1] http://blog.qt.digia.com/blog/2010/05/17/qtwebkit-now-accelerates-css-animations-3d-transforms/ -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG 0xFD55A072 | 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: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: