From me at mknln.com Fri Oct 2 04:21:02 2015 From: me at mknln.com (Mike Nolan) Date: Thu, 1 Oct 2015 19:21:02 -0700 Subject: [Qtwebengine] Touch scrolling with WebEngine? In-Reply-To: References: Message-ID: <59bf3ed1e21cbbba9b5a8419145461dc.squirrel@webmail.mknln.com> Hi all, I thought I should write an update. It turned out that I just had to be using an actual touchscreen. I had expected dragging with mouse to have the same effect. Once on an actual touchscreen, all works great, so far. If anyone has pointers on where to look to see how the touch events are processed, I would appreciate it. I may take a look to get a deeper understanding sometime. Thanks for the responses. On Mon, September 28, 2015 3:56 pm, Mike Nolan wrote: > Hi all, > I am wondering what is the best way to achieve touch-based scrolling with > the WebEngineView QML component. When it came to using QtWebKit in older > releases (4.8 in this case) you could put the WebView inside a Flickable, > but I see that WebEngineView has scrollbars added to it with no way to > remove them (I think?). What is the best way to achieve touch-based > scrolling/flicking with WebEngine? > > Thanks. > Mike > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine > > From me at mknln.com Tue Oct 6 22:41:00 2015 From: me at mknln.com (Mike Nolan) Date: Tue, 6 Oct 2015 13:41:00 -0700 Subject: [Qtwebengine] Touch scrolling with WebEngine? In-Reply-To: References: Message-ID: Hi all, I discovered that this works when using an actual touch screen, however I ran into another twist: It appears that at least Qt 5.5 is required for it to work. When I link against 5.4 it does not work. Does anyone know if there is some flag that can be enabled to make it work on 5.4, or is this due to code added in 5.5? Also, am I correct in saying that there is no way possible to link against 5.5 QtWebEngine but still using the Qt5.4 base? Thank you for any pointers with this issue. Mike On Mon, September 28, 2015 3:56 pm, Mike Nolan wrote: > Hi all, > I am wondering what is the best way to achieve touch-based scrolling with > the WebEngineView QML component. When it came to using QtWebKit in older > releases (4.8 in this case) you could put the WebView inside a Flickable, > but I see that WebEngineView has scrollbars added to it with no way to > remove them (I think?). What is the best way to achieve touch-based > scrolling/flicking with WebEngine? > > Thanks. > Mike > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine > > From allan.jensen at theqtcompany.com Wed Oct 7 00:14:14 2015 From: allan.jensen at theqtcompany.com (Allan Sandfeld Jensen) Date: Wed, 7 Oct 2015 00:14:14 +0200 Subject: [Qtwebengine] Touch scrolling with WebEngine? In-Reply-To: References: Message-ID: <201510070014.14697.allan.jensen@theqtcompany.com> On Tuesday 06 October 2015, Mike Nolan wrote: > Hi all, > > I discovered that this works when using an actual touch screen, however I > ran into another twist: > > It appears that at least Qt 5.5 is required for it to work. When I link > against 5.4 it does not work. > > Does anyone know if there is some flag that can be enabled to make it work > on 5.4, or is this due to code added in 5.5? > Nothing specific comes to mind. > Also, am I correct in saying that there is no way possible to link against > 5.5 QtWebEngine but still using the Qt5.4 base? > It will probably require a few minor changes in qtwebengine, but nothing major. It should be doable, though unsupported and not working out of the box. `Allan -- The Qt Company Rudower Chausse 13, 12489 D-Berlin The Qt Company is a group company of Digia Plc, Valimotie 21, FI-00380 Helsinki Finland From ki.stfu at gmail.com Tue Oct 6 18:14:26 2015 From: ki.stfu at gmail.com (Ilia K) Date: Tue, 6 Oct 2015 19:14:26 +0300 Subject: [Qtwebengine] configure error on Ubuntu 15.04 Message-ID: Hi! I tried to build qtwebengine on Linux pc, but got the following: ``` $ qmake -r Running configure tests Checking for khr... yes Checking for libcap... yes Checking for snappy... no Checking for srtp... no System zlib or minizip not found. Using Chromium's copies. System libwebp or libwebpdemux not found. Using Chromium's copies. System libevent not found. Using Chromium's copy. System flac not found. Using Chromium's copy. System jsoncpp not found. Using Chromium's copy. System opus not found. Using Chromium's copy. System speex not found. Using Chromium's copy. System vpx >= 1.4 not found. Using Chromium's copy. System libsrtp not found. Using Chromium's copy. System snappy not found. Using Chromium's copy. ICU............................... Using internal copy (Default, force system ICU with WEBENGINE_CONFIG += use_system_icu) FFMPEG............................ Using internal copy (Default, force system FFMPEG with WEBENGINE_CONFIG += use_system_ffmpeg) Proprietary codecs (H264, MP3).... Not enabled (Default, enable with WEBENGINE_CONFIG += use_proprietary_codecs) Unmet dependency: libjpeg QtWebEngine will not be built. ``` Unfortunately I installed all libjpeg* packages that I found in repo, but am still getting that error. Could you help me? -- - Ilia -------------- next part -------------- An HTML attachment was scrubbed... URL: From ki.stfu at gmail.com Fri Oct 9 13:18:32 2015 From: ki.stfu at gmail.com (Ilia K) Date: Fri, 9 Oct 2015 14:18:32 +0300 Subject: [Qtwebengine] configure error on Ubuntu 15.04 In-Reply-To: References: Message-ID: ping On Tue, Oct 6, 2015 at 7:14 PM, Ilia K wrote: > Hi! > > I tried to build qtwebengine on Linux pc, but got the following: > ``` > $ qmake -r > Running configure tests > Checking for khr... yes > Checking for libcap... yes > Checking for snappy... no > Checking for srtp... no > System zlib or minizip not found. Using Chromium's copies. > System libwebp or libwebpdemux not found. Using Chromium's copies. > System libevent not found. Using Chromium's copy. > System flac not found. Using Chromium's copy. > System jsoncpp not found. Using Chromium's copy. > System opus not found. Using Chromium's copy. > System speex not found. Using Chromium's copy. > System vpx >= 1.4 not found. Using Chromium's copy. > System libsrtp not found. Using Chromium's copy. > System snappy not found. Using Chromium's copy. > ICU............................... Using internal copy (Default, force > system ICU with WEBENGINE_CONFIG += use_system_icu) > FFMPEG............................ Using internal copy (Default, force > system FFMPEG with WEBENGINE_CONFIG += use_system_ffmpeg) > Proprietary codecs (H264, MP3).... Not enabled (Default, enable > with WEBENGINE_CONFIG += use_proprietary_codecs) > > Unmet dependency: libjpeg > QtWebEngine will not be built. > ``` > > Unfortunately I installed all libjpeg* packages that I found in repo, but > am still getting that error. > > Could you help me? > > -- > - Ilia > -- - Ilia -------------- next part -------------- An HTML attachment was scrubbed... URL: From Michael.Bruning at theqtcompany.com Tue Oct 13 12:05:51 2015 From: Michael.Bruning at theqtcompany.com (Bruning Michael) Date: Tue, 13 Oct 2015 10:05:51 +0000 Subject: [Qtwebengine] configure error on Ubuntu 15.04 In-Reply-To: References: , Message-ID: Hello Ilia, both your messages where just delivered to me, no clue why the first one seems to have been stuck. Coincidentally, we fixed the problem that you are seeing on the 5.6 git branch. You can also find the patch here: https://codereview.qt-project.org/#/c/127323/ Best regards, Michael ________________________________ From: qtwebengine-bounces+michael.bruning=theqtcompany.com at qt-project.org on behalf of Ilia K Sent: Friday, October 9, 2015 13:18 To: qtwebengine at qt-project.org Subject: Re: [Qtwebengine] configure error on Ubuntu 15.04 ping On Tue, Oct 6, 2015 at 7:14 PM, Ilia K > wrote: Hi! I tried to build qtwebengine on Linux pc, but got the following: ``` $ qmake -r Running configure tests Checking for khr... yes Checking for libcap... yes Checking for snappy... no Checking for srtp... no System zlib or minizip not found. Using Chromium's copies. System libwebp or libwebpdemux not found. Using Chromium's copies. System libevent not found. Using Chromium's copy. System flac not found. Using Chromium's copy. System jsoncpp not found. Using Chromium's copy. System opus not found. Using Chromium's copy. System speex not found. Using Chromium's copy. System vpx >= 1.4 not found. Using Chromium's copy. System libsrtp not found. Using Chromium's copy. System snappy not found. Using Chromium's copy. ICU............................... Using internal copy (Default, force system ICU with WEBENGINE_CONFIG += use_system_icu) FFMPEG............................ Using internal copy (Default, force system FFMPEG with WEBENGINE_CONFIG += use_system_ffmpeg) Proprietary codecs (H264, MP3).... Not enabled (Default, enable with WEBENGINE_CONFIG += use_proprietary_codecs) Unmet dependency: libjpeg QtWebEngine will not be built. ``` Unfortunately I installed all libjpeg* packages that I found in repo, but am still getting that error. Could you help me? -- - Ilia -- - Ilia -------------- next part -------------- An HTML attachment was scrubbed... URL: From Michael.Bruning at theqtcompany.com Tue Oct 13 15:49:08 2015 From: Michael.Bruning at theqtcompany.com (Bruning Michael) Date: Tue, 13 Oct 2015 13:49:08 +0000 Subject: [Qtwebengine] configure error on Ubuntu 15.04 In-Reply-To: References: , Message-ID: Hi Ilia, QtWebEngine depends on QtWebChannel, so you need to clone and build that first (can be found here git://code.qt.io/qt/qtwebchannel.git ) Best regards, Michael ________________________________ From: Ilia K Sent: Tuesday, October 13, 2015 15:38 To: Bruning Michael Cc: qtwebengine at qt-project.org Subject: Re: [Qtwebengine] configure error on Ubuntu 15.04 Michael, Thank you! Configuration step succeed, but make fails as follows: $ qmake Info: creating cache file /home/ilia/p/qtwebengine/.qmake.cache Running configure tests Checking for khr... yes Checking for libcap... yes Checking for snappy... no Checking for srtp... no System zlib or minizip not found. Using Chromium's copies. System libwebp or libwebpdemux not found. Using Chromium's copies. System libevent not found. Using Chromium's copy. System flac not found. Using Chromium's copy. System jsoncpp not found. Using Chromium's copy. System opus not found. Using Chromium's copy. System speex not found. Using Chromium's copy. System vpx >= 1.4 not found. Using Chromium's copy. System libsrtp not found. Using Chromium's copy. System snappy not found. Using Chromium's copy. SSL............................... Using system NSS ICU............................... Using internal copy (Default, force system ICU with WEBENGINE_CONFIG += use_system_icu) FFMPEG............................ Using internal copy (Default, force system FFMPEG with WEBENGINE_CONFIG += use_system_ffmpeg) Proprietary codecs (H264, MP3).... Not enabled (Default, enable with WEBENGINE_CONFIG += use_proprietary_codecs) $ make cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/ilia/p/qtwebengine/src/src.pro -o Makefile ) && make -f Makefile make[1]: Entering directory '/home/ilia/p/qtwebengine/src' /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile src.pro cd core/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/ilia/p/qtwebengine/src/core/core.pro -o Makefile ) && make -f Makefile make[2]: Entering directory '/home/ilia/p/qtwebengine/src/core' /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile core.pro ( test -e Makefile.core_gyp_generator || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/ilia/p/qtwebengine/src/core/core_gyp_generator.pro -o Makefile.core_gyp_generator ) && make -f Makefile.core_gyp_generator Project ERROR: Unknown module(s) in QT: webchannel Makefile:45: recipe for target 'sub-core_gyp_generator-pro-make_first' failed make[2]: *** [sub-core_gyp_generator-pro-make_first] Error 3 make[2]: Leaving directory '/home/ilia/p/qtwebengine/src/core' Makefile:48: recipe for target 'sub-core-make_first' failed make[1]: *** [sub-core-make_first] Error 2 make[1]: Leaving directory '/home/ilia/p/qtwebengine/src' Makefile:44: recipe for target 'sub-src-make_first' failed make: *** [sub-src-make_first] Error 2 Any suggestions how to fix it? On Tue, Oct 13, 2015 at 1:05 PM, Bruning Michael > wrote: Hello Ilia, both your messages where just delivered to me, no clue why the first one seems to have been stuck. Coincidentally, we fixed the problem that you are seeing on the 5.6 git branch. You can also find the patch here: https://codereview.qt-project.org/#/c/127323/ Best regards, Michael ________________________________ From: qtwebengine-bounces+michael.bruning=theqtcompany.com at qt-project.org > on behalf of Ilia K > Sent: Friday, October 9, 2015 13:18 To: qtwebengine at qt-project.org Subject: Re: [Qtwebengine] configure error on Ubuntu 15.04 ping On Tue, Oct 6, 2015 at 7:14 PM, Ilia K > wrote: Hi! I tried to build qtwebengine on Linux pc, but got the following: ``` $ qmake -r Running configure tests Checking for khr... yes Checking for libcap... yes Checking for snappy... no Checking for srtp... no System zlib or minizip not found. Using Chromium's copies. System libwebp or libwebpdemux not found. Using Chromium's copies. System libevent not found. Using Chromium's copy. System flac not found. Using Chromium's copy. System jsoncpp not found. Using Chromium's copy. System opus not found. Using Chromium's copy. System speex not found. Using Chromium's copy. System vpx >= 1.4 not found. Using Chromium's copy. System libsrtp not found. Using Chromium's copy. System snappy not found. Using Chromium's copy. ICU............................... Using internal copy (Default, force system ICU with WEBENGINE_CONFIG += use_system_icu) FFMPEG............................ Using internal copy (Default, force system FFMPEG with WEBENGINE_CONFIG += use_system_ffmpeg) Proprietary codecs (H264, MP3).... Not enabled (Default, enable with WEBENGINE_CONFIG += use_proprietary_codecs) Unmet dependency: libjpeg QtWebEngine will not be built. ``` Unfortunately I installed all libjpeg* packages that I found in repo, but am still getting that error. Could you help me? -- - Ilia -- - Ilia -- - Ilia -------------- next part -------------- An HTML attachment was scrubbed... URL: From ki.stfu at gmail.com Tue Oct 13 15:38:02 2015 From: ki.stfu at gmail.com (Ilia K) Date: Tue, 13 Oct 2015 16:38:02 +0300 Subject: [Qtwebengine] configure error on Ubuntu 15.04 In-Reply-To: References: Message-ID: Michael, Thank you! Configuration step succeed, but make fails as follows: $ qmake Info: creating cache file /home/ilia/p/qtwebengine/.qmake.cache Running configure tests Checking for khr... yes Checking for libcap... yes Checking for snappy... no Checking for srtp... no System zlib or minizip not found. Using Chromium's copies. System libwebp or libwebpdemux not found. Using Chromium's copies. System libevent not found. Using Chromium's copy. System flac not found. Using Chromium's copy. System jsoncpp not found. Using Chromium's copy. System opus not found. Using Chromium's copy. System speex not found. Using Chromium's copy. System vpx >= 1.4 not found. Using Chromium's copy. System libsrtp not found. Using Chromium's copy. System snappy not found. Using Chromium's copy. SSL............................... Using system NSS ICU............................... Using internal copy (Default, force system ICU with WEBENGINE_CONFIG += use_system_icu) FFMPEG............................ Using internal copy (Default, force system FFMPEG with WEBENGINE_CONFIG += use_system_ffmpeg) Proprietary codecs (H264, MP3).... Not enabled (Default, enable with WEBENGINE_CONFIG += use_proprietary_codecs) $ make cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/ilia/p/qtwebengine/src/src.pro -o Makefile ) && make -f Makefile make[1]: Entering directory '/home/ilia/p/qtwebengine/src' /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile src.pro cd core/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/ilia/p/qtwebengine/src/core/core.pro -o Makefile ) && make -f Makefile make[2]: Entering directory '/home/ilia/p/qtwebengine/src/core' /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile core.pro ( test -e Makefile.core_gyp_generator || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/ilia/p/qtwebengine/src/core/ core_gyp_generator.pro -o Makefile.core_gyp_generator ) && make -f Makefile.core_gyp_generator Project ERROR: Unknown module(s) in QT: webchannel Makefile:45: recipe for target 'sub-core_gyp_generator-pro-make_first' failed make[2]: *** [sub-core_gyp_generator-pro-make_first] Error 3 make[2]: Leaving directory '/home/ilia/p/qtwebengine/src/core' Makefile:48: recipe for target 'sub-core-make_first' failed make[1]: *** [sub-core-make_first] Error 2 make[1]: Leaving directory '/home/ilia/p/qtwebengine/src' Makefile:44: recipe for target 'sub-src-make_first' failed make: *** [sub-src-make_first] Error 2 Any suggestions how to fix it? On Tue, Oct 13, 2015 at 1:05 PM, Bruning Michael < Michael.Bruning at theqtcompany.com> wrote: > Hello Ilia, > > > both your messages where just delivered to me, no clue why the first one > seems to have been stuck. > > > Coincidentally, we fixed the problem that you are seeing on the 5.6 git > branch. You can also find the patch here: > https://codereview.qt-project.org/#/c/127323/ > > > Best regards, > > Michael > > > ------------------------------ > *From:* qtwebengine-bounces+michael.bruning= > theqtcompany.com at qt-project.org theqtcompany.com at qt-project.org> on behalf of Ilia K > *Sent:* Friday, October 9, 2015 13:18 > *To:* qtwebengine at qt-project.org > *Subject:* Re: [Qtwebengine] configure error on Ubuntu 15.04 > > ping > > On Tue, Oct 6, 2015 at 7:14 PM, Ilia K wrote: > >> Hi! >> >> I tried to build qtwebengine on Linux pc, but got the following: >> ``` >> $ qmake -r >> Running configure tests >> Checking for khr... yes >> Checking for libcap... yes >> Checking for snappy... no >> Checking for srtp... no >> System zlib or minizip not found. Using Chromium's copies. >> System libwebp or libwebpdemux not found. Using Chromium's copies. >> System libevent not found. Using Chromium's copy. >> System flac not found. Using Chromium's copy. >> System jsoncpp not found. Using Chromium's copy. >> System opus not found. Using Chromium's copy. >> System speex not found. Using Chromium's copy. >> System vpx >= 1.4 not found. Using Chromium's copy. >> System libsrtp not found. Using Chromium's copy. >> System snappy not found. Using Chromium's copy. >> ICU............................... Using internal copy (Default, force >> system ICU with WEBENGINE_CONFIG += use_system_icu) >> FFMPEG............................ Using internal copy (Default, force >> system FFMPEG with WEBENGINE_CONFIG += use_system_ffmpeg) >> Proprietary codecs (H264, MP3).... Not enabled (Default, enable >> with WEBENGINE_CONFIG += use_proprietary_codecs) >> >> Unmet dependency: libjpeg >> QtWebEngine will not be built. >> ``` >> >> Unfortunately I installed all libjpeg* packages that I found in repo, but >> am still getting that error. >> >> Could you help me? >> >> -- >> - Ilia >> > > > > -- > - Ilia > -- - Ilia -------------- next part -------------- An HTML attachment was scrubbed... URL: From ki.stfu at gmail.com Tue Oct 13 15:58:25 2015 From: ki.stfu at gmail.com (Ilia K) Date: Tue, 13 Oct 2015 16:58:25 +0300 Subject: [Qtwebengine] configure error on Ubuntu 15.04 In-Reply-To: References: Message-ID: Thanks again. I'm using https://wiki.qt.io/QtWebEngineHowToTry page but it says nothing about QtWebChannel. Is there any other dependencies/requirements for QtWebEngine? Can you send me a step-by-step instruction how to build it on Linux? P.S. QtWebChannel's build failed too: ``` g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -Wall -W -fno-exceptions -D_REENTRANT -fPIC -DQT_BUILD_WEBCHANNEL_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../include -I../../include/QtWebChannel -I../../include/QtWebChannel/5.6.0 -I../../include/QtWebChannel/5.6.0/QtWebChannel -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore/5.4.1 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore/5.4.1/QtCore -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -x c++-header -c ../../include/QtWebChannel/QtWebChannelDepends -o .pch/Qt5WebChannel.gch/c++ g++ -c -include .pch/Qt5WebChannel -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -Wall -W -fno-exceptions -D_REENTRANT -fPIC -DQT_BUILD_WEBCHANNEL_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../include -I../../include/QtWebChannel -I../../include/QtWebChannel/5.6.0 -I../../include/QtWebChannel/5.6.0/QtWebChannel -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore/5.4.1 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore/5.4.1/QtCore -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o .obj/qwebchannel.o qwebchannel.cpp In file included from qwebchannel.cpp:36:0: qwebchannel_p.h:39:31: fatal error: private/qobject_p.h: No such file or directory #include ^ compilation terminated. ``` On Tue, Oct 13, 2015 at 4:49 PM, Bruning Michael < Michael.Bruning at theqtcompany.com> wrote: > Hi Ilia, > > > QtWebEngine depends on QtWebChannel, so you need to clone and build that > first (can be found here git://code.qt.io/qt/qtwebchannel.git ) > > > Best regards, > > Michael > > ------------------------------ > *From:* Ilia K > *Sent:* Tuesday, October 13, 2015 15:38 > *To:* Bruning Michael > *Cc:* qtwebengine at qt-project.org > > *Subject:* Re: [Qtwebengine] configure error on Ubuntu 15.04 > > Michael, > > Thank you! Configuration step succeed, but make fails as follows: > $ qmake > Info: creating cache file /home/ilia/p/qtwebengine/.qmake.cache > Running configure tests > Checking for khr... yes > Checking for libcap... yes > Checking for snappy... no > Checking for srtp... no > System zlib or minizip not found. Using Chromium's copies. > System libwebp or libwebpdemux not found. Using Chromium's copies. > System libevent not found. Using Chromium's copy. > System flac not found. Using Chromium's copy. > System jsoncpp not found. Using Chromium's copy. > System opus not found. Using Chromium's copy. > System speex not found. Using Chromium's copy. > System vpx >= 1.4 not found. Using Chromium's copy. > System libsrtp not found. Using Chromium's copy. > System snappy not found. Using Chromium's copy. > SSL............................... Using system NSS > ICU............................... Using internal copy (Default, force > system ICU with WEBENGINE_CONFIG += use_system_icu) > FFMPEG............................ Using internal copy (Default, force > system FFMPEG with WEBENGINE_CONFIG += use_system_ffmpeg) > Proprietary codecs (H264, MP3).... Not enabled (Default, enable > with WEBENGINE_CONFIG += use_proprietary_codecs) > $ make > cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake > /home/ilia/p/qtwebengine/src/src.pro -o Makefile ) && make -f Makefile > make[1]: Entering directory '/home/ilia/p/qtwebengine/src' > /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile src.pro > cd core/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake > /home/ilia/p/qtwebengine/src/core/core.pro -o Makefile ) && make -f > Makefile > make[2]: Entering directory '/home/ilia/p/qtwebengine/src/core' > /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile core.pro > ( test -e Makefile.core_gyp_generator || > /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/ilia/p/qtwebengine/src/core/ > core_gyp_generator.pro -o Makefile.core_gyp_generator ) && make -f > Makefile.core_gyp_generator > Project ERROR: Unknown module(s) in QT: webchannel > Makefile:45: recipe for target 'sub-core_gyp_generator-pro-make_first' > failed > make[2]: *** [sub-core_gyp_generator-pro-make_first] Error 3 > make[2]: Leaving directory '/home/ilia/p/qtwebengine/src/core' > Makefile:48: recipe for target 'sub-core-make_first' failed > make[1]: *** [sub-core-make_first] Error 2 > make[1]: Leaving directory '/home/ilia/p/qtwebengine/src' > Makefile:44: recipe for target 'sub-src-make_first' failed > make: *** [sub-src-make_first] Error 2 > > Any suggestions how to fix it? > > > On Tue, Oct 13, 2015 at 1:05 PM, Bruning Michael < > Michael.Bruning at theqtcompany.com> wrote: > >> Hello Ilia, >> >> >> both your messages where just delivered to me, no clue why the first one >> seems to have been stuck. >> >> >> Coincidentally, we fixed the problem that you are seeing on the 5.6 git >> branch. You can also find the patch here: >> https://codereview.qt-project.org/#/c/127323/ >> >> >> Best regards, >> >> Michael >> >> >> ------------------------------ >> *From:* qtwebengine-bounces+michael.bruning= >> theqtcompany.com at qt-project.org > theqtcompany.com at qt-project.org> on behalf of Ilia K >> *Sent:* Friday, October 9, 2015 13:18 >> *To:* qtwebengine at qt-project.org >> *Subject:* Re: [Qtwebengine] configure error on Ubuntu 15.04 >> >> ping >> >> On Tue, Oct 6, 2015 at 7:14 PM, Ilia K wrote: >> >>> Hi! >>> >>> I tried to build qtwebengine on Linux pc, but got the following: >>> ``` >>> $ qmake -r >>> Running configure tests >>> Checking for khr... yes >>> Checking for libcap... yes >>> Checking for snappy... no >>> Checking for srtp... no >>> System zlib or minizip not found. Using Chromium's copies. >>> System libwebp or libwebpdemux not found. Using Chromium's copies. >>> System libevent not found. Using Chromium's copy. >>> System flac not found. Using Chromium's copy. >>> System jsoncpp not found. Using Chromium's copy. >>> System opus not found. Using Chromium's copy. >>> System speex not found. Using Chromium's copy. >>> System vpx >= 1.4 not found. Using Chromium's copy. >>> System libsrtp not found. Using Chromium's copy. >>> System snappy not found. Using Chromium's copy. >>> ICU............................... Using internal copy (Default, force >>> system ICU with WEBENGINE_CONFIG += use_system_icu) >>> FFMPEG............................ Using internal copy (Default, force >>> system FFMPEG with WEBENGINE_CONFIG += use_system_ffmpeg) >>> Proprietary codecs (H264, MP3).... Not enabled (Default, enable >>> with WEBENGINE_CONFIG += use_proprietary_codecs) >>> >>> Unmet dependency: libjpeg >>> QtWebEngine will not be built. >>> ``` >>> >>> Unfortunately I installed all libjpeg* packages that I found in repo, >>> but am still getting that error. >>> >>> Could you help me? >>> >>> -- >>> - Ilia >>> >> >> >> >> -- >> - Ilia >> > > > > -- > - Ilia > -- - Ilia -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.chapuis at gmail.com Wed Oct 14 14:25:26 2015 From: chris.chapuis at gmail.com (Christophe Chapuis) Date: Wed, 14 Oct 2015 14:25:26 +0200 Subject: [Qtwebengine] Possible bug in touch event coordinates in QtWebEngine when using pixelDeviceRatio Message-ID: Hello folks, First, I'm sorry I didn't see that this specific mailing list for QtWebEngine existed; that's why I first posted my message on development ML. I will from now on stick to the qtwebengine ML. I am currently working towards using QtWebEngine for our project (LuneOS), and I stumbled upon an issue. I am using the experimental devicePixelRatio property in the QML WebEngineView component, so that our html page is displayed nicely on mobile device with high DPI. However, I remarked that when using devicePixelRatio, only a part of the webpage was responding to touch events on device. Therefore I suspected an issue in the conversion of touch event coordinates, and found out that touch events don't seem to be mapped to web coordinates using dpiScale. I did this modification, and now it seems to be working fine: https://github.com/webOS-ports/qtwebengine/commit/ec0a2f759cd1fb2675ae6f761c6172004cf8af23 Do you agree with this modification ? How could I push that upstream ? Regards, Christophe Chapuis -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan.jensen at theqtcompany.com Wed Oct 14 16:59:39 2015 From: allan.jensen at theqtcompany.com (Allan Sandfeld Jensen) Date: Wed, 14 Oct 2015 16:59:39 +0200 Subject: [Qtwebengine] Possible bug in touch event coordinates in QtWebEngine when using pixelDeviceRatio In-Reply-To: References: Message-ID: <201510141659.39606.allan.jensen@theqtcompany.com> On Wednesday 14 October 2015, Christophe Chapuis wrote: > Hello folks, Hello there > > First, I'm sorry I didn't see that this specific mailing list for > QtWebEngine existed; that's why I first posted my message on development > ML. I will from now on stick to the qtwebengine ML. > > I am currently working towards using QtWebEngine for our project (LuneOS), > and I stumbled upon an issue. I am using the experimental devicePixelRatio > property in the QML WebEngineView component, so that our html page is > displayed nicely on mobile device with high DPI. > > However, I remarked that when using devicePixelRatio, only a part of the > webpage was responding to touch events on device. Therefore I suspected an > issue in the conversion of touch event coordinates, and found out that > touch events don't seem to be mapped to web coordinates using dpiScale. > > I did this modification, and now it seems to be working fine: > https://github.com/webOS-ports/qtwebengine/commit/ec0a2f759cd1fb2675ae6f761 > c6172004cf8af23 > > Do you agree with this modification ? How could I push that upstream ? > There is a few things that could be improved in the patch, but it looks good. It would be great if you could make a bug-report and push the patch to Qt gerrit. `Allan -- The Qt Company Rudower Chausse 13, 12489 D-Berlin The Qt Company is a group company of Digia Plc, Valimotie 21, FI-00380 Helsinki Finland From linuxsquirrel.dev at gmail.com Thu Oct 15 06:57:45 2015 From: linuxsquirrel.dev at gmail.com (Dmitry B) Date: Wed, 14 Oct 2015 21:57:45 -0700 Subject: [Qtwebengine] Pepper plugins (flash/widevine) on Linux Message-ID: Hi everybody. Does the current Qt 5.6 from GIT support PEPPER plugins such as flash and WideVine? I tried the latest GIT version and it cannot find flash PEPPER plugin on Ubuntu 14.04, however I have /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so installed. Maybe I am missing something? Any help is appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan.jensen at theqtcompany.com Thu Oct 15 11:38:43 2015 From: allan.jensen at theqtcompany.com (Allan Sandfeld Jensen) Date: Thu, 15 Oct 2015 11:38:43 +0200 Subject: [Qtwebengine] Pepper plugins (flash/widevine) on Linux In-Reply-To: References: Message-ID: <201510151138.43869.allan.jensen@theqtcompany.com> On Thursday 15 October 2015, Dmitry B wrote: > Hi everybody. > > Does the current Qt 5.6 from GIT support PEPPER plugins such as flash and > WideVine? I tried the latest GIT version and it cannot find flash PEPPER > plugin on Ubuntu 14.04, however I have > /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so installed. Maybe I > am missing something? Any help is appreciated. No that should be one of the paths we explicitly search, see content_client_qt.cpp:118 How are you testing it? -- The Qt Company Rudower Chausse 13, 12489 D-Berlin The Qt Company is a group company of Digia Plc, Valimotie 21, FI-00380 Helsinki Finland From linuxsquirrel.dev at gmail.com Thu Oct 15 19:47:18 2015 From: linuxsquirrel.dev at gmail.com (Dmitry B) Date: Thu, 15 Oct 2015 10:47:18 -0700 Subject: [Qtwebengine] Pepper plugins (flash/widevine) on Linux In-Reply-To: <201510151138.43869.allan.jensen@theqtcompany.com> References: <201510151138.43869.allan.jensen@theqtcompany.com> Message-ID: Hi. Well, actually an issue with flash was my fault. It is working more or less. I am able to open flash-based websites. But with WideVine I still cannot see DR content. For example: export LD_LIBRARY_PATH=/opt/Qt-custom/lib:/usr/lib/chromium-browser/libs:/usr/lib/chromium-browser:/opt ./demobrowser --ppapi-out-of-process --register-pepper-plugins="/opt/libwidevinecdmadapter.so;application/x-ppapi-widevine-cdm" http://ssdemo04.swankmp.net/ The HTML page says "Unfortunately, your browser is not supported." /opt/libwidevinecdmadapter.so is copied from Ubuntu version of Chromium (45.0.2454.101-0ubuntu0.14.04.1.1099). Since Chromium's libwidevinecdmadapter.so depends on libbase.so, I added Chromum's library path to LD_LIBRARY_PATH BTW strace shows that it at least opens libwidevinecdmadapter.so/libwidevinecdm.so without errors. The second test tries libwidevinecdmadapter.so/libwidevinecdm.so from Google Chrome. I've replaced those libraries in /opt and run again: export LD_LIBRARY_PATH=/opt/Qt-custom/lib:/opt ./demobrowser --ppapi-out-of-process --register-pepper-plugins="/opt/libwidevinecdmadapter.so;application/x-ppapi-widevine-cdm" http://ssdemo04.swankmp.net/ Still says "Unfortunately, your browser is not supported.". With Google Chrome and Ubuntu Chromium that page works OK. Maybe I am missing something? 2015-10-15 2:38 GMT-07:00 Allan Sandfeld Jensen < allan.jensen at theqtcompany.com>: > On Thursday 15 October 2015, Dmitry B wrote: > > Hi everybody. > > > > Does the current Qt 5.6 from GIT support PEPPER plugins such as flash and > > WideVine? I tried the latest GIT version and it cannot find flash PEPPER > > plugin on Ubuntu 14.04, however I have > > /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so installed. Maybe > I > > am missing something? Any help is appreciated. > > No that should be one of the paths we explicitly search, see > content_client_qt.cpp:118 > > How are you testing it? > -- > > The Qt Company > Rudower Chausse 13, 12489 D-Berlin > > The Qt Company is a group company of Digia Plc, > Valimotie 21, FI-00380 Helsinki Finland > -------------- next part -------------- An HTML attachment was scrubbed... URL: From linuxsquirrel.dev at gmail.com Sat Oct 17 01:58:04 2015 From: linuxsquirrel.dev at gmail.com (Dmitry B) Date: Fri, 16 Oct 2015 16:58:04 -0700 Subject: [Qtwebengine] Pepper plugins (flash/widevine) on Linux In-Reply-To: References: <201510151138.43869.allan.jensen@theqtcompany.com> Message-ID: With another DRM demo http://demo.castlabs.com/ it still doesn't work (and with Chrome/Chromium 45 work fine). Apparently WideVine is not supported in the version of Chromium shipped with QtWebEngine 5.6. Do you have any plans to support it? 2015-10-15 10:47 GMT-07:00 Dmitry B : > Hi. Well, actually an issue with flash was my fault. It is working more or > less. I am able to open flash-based websites. But with WideVine I still > cannot see DR content. For example: > > export > LD_LIBRARY_PATH=/opt/Qt-custom/lib:/usr/lib/chromium-browser/libs:/usr/lib/chromium-browser:/opt > ./demobrowser --ppapi-out-of-process > --register-pepper-plugins="/opt/libwidevinecdmadapter.so;application/x-ppapi-widevine-cdm" > http://ssdemo04.swankmp.net/ > > The HTML page says "Unfortunately, your browser is not supported." > > /opt/libwidevinecdmadapter.so is copied from Ubuntu version of Chromium > (45.0.2454.101-0ubuntu0.14.04.1.1099). Since Chromium's > libwidevinecdmadapter.so depends on libbase.so, I added Chromum's library > path to LD_LIBRARY_PATH > > BTW strace shows that it at least opens > libwidevinecdmadapter.so/libwidevinecdm.so without errors. > > The second test tries libwidevinecdmadapter.so/libwidevinecdm.so from > Google Chrome. I've replaced those libraries in /opt and run again: > > export LD_LIBRARY_PATH=/opt/Qt-custom/lib:/opt > ./demobrowser --ppapi-out-of-process > --register-pepper-plugins="/opt/libwidevinecdmadapter.so;application/x-ppapi-widevine-cdm" > http://ssdemo04.swankmp.net/ > > Still says "Unfortunately, your browser is not supported.". With Google > Chrome and Ubuntu Chromium that page works OK. > > Maybe I am missing something? > > > 2015-10-15 2:38 GMT-07:00 Allan Sandfeld Jensen < > allan.jensen at theqtcompany.com>: > >> On Thursday 15 October 2015, Dmitry B wrote: >> > Hi everybody. >> > >> > Does the current Qt 5.6 from GIT support PEPPER plugins such as flash >> and >> > WideVine? I tried the latest GIT version and it cannot find flash PEPPER >> > plugin on Ubuntu 14.04, however I have >> > /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so installed. >> Maybe I >> > am missing something? Any help is appreciated. >> >> No that should be one of the paths we explicitly search, see >> content_client_qt.cpp:118 >> >> How are you testing it? >> -- >> >> The Qt Company >> Rudower Chausse 13, 12489 D-Berlin >> >> The Qt Company is a group company of Digia Plc, >> Valimotie 21, FI-00380 Helsinki Finland >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.chapuis at gmail.com Mon Oct 19 17:03:26 2015 From: chris.chapuis at gmail.com (Christophe Chapuis) Date: Mon, 19 Oct 2015 17:03:26 +0200 Subject: [Qtwebengine] Get the URL that is going to be loaded in a QQuickWebEngineNewViewRequest Message-ID: Hello, In order to do some early initialization of my new page, I would need to know what URL is going to be loaded in the new view. For instance, I will need to prepare UserScripts, depending if the loaded URL is local or remote. Is there a way to get it from a QQuickWebEngineNewViewRequest? I had also a look at how the url is handled in WebContentsImpl::CreateNewWindow, but I didn't really understand how it is given to the new web_contents. Thanks, Christophe -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bjorn.Bosell at qmatic.com Fri Oct 23 08:13:18 2015 From: Bjorn.Bosell at qmatic.com (=?iso-8859-1?Q?Bj=F6rn_Bosell?=) Date: Fri, 23 Oct 2015 06:13:18 +0000 Subject: [Qtwebengine] Memory issues on imx6 Message-ID: <1445580798146.9908@qmatic.com> Hi, We are seeing an memory issue when running qtwebengine 5.4 and 5.5 on a iMX6 board, built in yocto 1.8. When we are displaying a page with several moving elements like scrolling text etc. We see a rapid decrease in free memory, up to 11MByte/hour. The memory appears to be unreclaimable kernel SLAB memory. The only way to release this memory is to stop the QT application and unload the driver. At the same time we can see a large amount of entries in the galcore database (/sys/kernel/debug/gc/database) which we assume to correlate to the SLAB memory. Now, the reason we believe this may be related to qtwebengine is because we also tried to run a normal chromium under wayland, where we didn't see this particular issue. We also tried to build both QT5.5 and 5.6-alpha outside of yocto, and on 5.5 we still saw the problem, but in 5.6 it appears to be gone. Has anyone eles seen this? Or know of a workaround for QT5.5? This is the configuration we used, ./configure -device linux-imx6-g++ -device-option CROSS_COMPILE= -opengl es2 -sysroot -prefix -nomake examples -nomake tests -eglfs -opensource -confirm-license -skip webkit -shared -icu -gui -openssl -no-sql-sqlite -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -qt-xcb -widgets Thanks, Bjorn Bosell -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at the-compiler.org Fri Oct 23 08:37:38 2015 From: me at the-compiler.org (Florian Bruhin) Date: Fri, 23 Oct 2015 08:37:38 +0200 Subject: [Qtwebengine] Memory issues on imx6 In-Reply-To: <1445580798146.9908@qmatic.com> References: <1445580798146.9908@qmatic.com> Message-ID: <20151023063738.GD5929@tonks> * Björn Bosell [2015-10-23 06:13:18 +0000]: > We are seeing an memory issue when running qtwebengine 5.4 and 5.5 on a iMX6 board, built in yocto 1.8. Maybe you're seeing https://bugreports.qt.io/browse/QTBUG-48822 ? A fix was submitted in https://codereview.qt-project.org/#/c/138255/ but I think the submodule in the qtwebengine repo still needs to be updated in the 5.5 branch. Maybe you could try doing that locally and see if you still see the issue after that. 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: 819 bytes Desc: Digital signature URL: From Bjorn.Bosell at qmatic.com Fri Oct 23 08:48:14 2015 From: Bjorn.Bosell at qmatic.com (=?iso-8859-1?Q?Bj=F6rn_Bosell?=) Date: Fri, 23 Oct 2015 06:48:14 +0000 Subject: [Qtwebengine] Memory issues on imx6 In-Reply-To: <20151023063738.GD5929@tonks> References: <1445580798146.9908@qmatic.com>,<20151023063738.GD5929@tonks> Message-ID: <1445582893831.75363@qmatic.com> * Björn Bosell [2015-10-23 06:13:18 +0000]: > > We are seeing an memory issue when running qtwebengine 5.4 and 5.5 on a iMX6 board, built in yocto 1.8. > > Maybe you're seeing https://bugreports.qt.io/browse/QTBUG-48822 ? > A fix was submitted in https://codereview.qt-project.org/#/c/138255/ > but I think the submodule in the qtwebengine repo still needs to be > updated in the 5.5 branch. > > Maybe you could try doing that locally and see if you still see the > issue after that. Thanks! We'll give that a try! -- Bjorn From Bjorn.Bosell at qmatic.com Mon Oct 26 10:00:36 2015 From: Bjorn.Bosell at qmatic.com (=?iso-8859-1?Q?Bj=F6rn_Bosell?=) Date: Mon, 26 Oct 2015 09:00:36 +0000 Subject: [Qtwebengine] Memory issues on imx6 In-Reply-To: <1445582893831.75363@qmatic.com> References: <1445580798146.9908@qmatic.com>, <20151023063738.GD5929@tonks>, <1445582893831.75363@qmatic.com> Message-ID: <1445850035867.49007@qmatic.com> * Björn Bosell [2015-10-23 06:13:18 +0000]: >>> We are seeing an memory issue when running qtwebengine 5.4 and 5.5 on a iMX6 board, built in yocto 1.8. >> >> Maybe you're seeing https://bugreports.qt.io/browse/QTBUG-48822 ? >> A fix was submitted in https://codereview.qt-project.org/#/c/138255/ >> but I think the submodule in the qtwebengine repo still needs to be >> updated in the 5.5 branch. >> >> Maybe you could try doing that locally and see if you still see the >> issue after that. > >Thanks! > >We'll give that a try! This did unfortunately not solve the problem we've been seeing. -- Bjorn