All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grossholtz <julien.grossholtz@savoirfairelinux.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v8 0/3] Qt WebEngine support
Date: Wed, 16 Aug 2017 18:21:15 -0400 (EDT)	[thread overview]
Message-ID: <178556773.368025.1502922075670.JavaMail.zimbra@savoirfairelinux.com> (raw)
In-Reply-To: <488835700.260243.1502835037832.JavaMail.zimbra@savoirfairelinux.com>

Hi,

I have been able to compile Qt WebEngine for the Beaglebone black. I ran the quicknanobrowser successfully even if performances are poor with this board and colors are not correct. I used the HDMI output and a mouse for this test.

It was necessary to add some fonts to the system to run quicknanobrowser.

It was also necessary to set QT_QPA_EGLFS_INTEGRATION to none, it fails without it:

$ cd /usr/lib/qt/examples/webengine/quicknanobrowser/
$ ./quicknanobrowser
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
PVR: Hint: Setting WindowSystem to libpvrDRMWSEGL_FRONT.so

mode for connector 20 is 1280x1024
mode for CRTC of connector 20 is 1280x1024
DRM SET CRTC: index: 0 fd: 5, crtc: 12, fb: 1e, conn: 14, mode: 1280x1024
EGL library doesn't support Emulator extensions
Aborted

$ QT_QPA_EGLFS_INTEGRATION=none ./quicknanobrowser www.google.com
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
PVR: Hint: Setting WindowSystem to libpvrDRMWSEGL_FRONT.so

mode for connector 20 is 1280x1024
mode for CRTC of connector 20 is 1280x1024
fDRM SET CRTC: index: 0 fd: 6, crtc: 12, fb: 1e, conn: 14, mode: 1280x1024
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
PVR: Hint: Setting DisableHWTQTextureUpload to 1

[0101/001546.323753:WARNING:resource_bundle_qt.cpp(114)] locale_file_path.empty() for locale 
[0101/001546.688823:WARNING:resource_bundle_qt.cpp(114)] locale_file_path.empty() for locale 
PVR: Hint: Setting DisableHWTQTextureUpload to 1

PVR: Hint: Setting DisableHWTQTextureUpload to 1

PVR: Hint: Setting DisableHWTQTextureUpload to 1

PVR: Hint: Setting DisableHWTQTextureUpload to 1


So it is functional, but colors are somehow reversed.


Julien

----- Original Message -----
> From: "Julien Grossholtz" <julien.grossholtz@savoirfairelinux.com>
> To: "Ga?l Portay" <gael.portay@savoirfairelinux.com>
> Cc: "Thomas Petazzoni" <thomas.petazzoni@free-electrons.com>, "Joshua Henderson" <joshua.henderson@microchip.com>,
> "Jean-Daniel Michaud" <jean.daniel.michaud@gmail.com>, "brents 3" <brents_3@hotmail.com>, "Peter Seiderer"
> <ps.report@gmx.net>, "buildroot @ busybox . net" <buildroot@busybox.net>, "gomis" <tuzaklirefik@gmail.com>, "Akihiko
> Odaki" <akihiko.odaki.4i@stu.hosei.ac.jp>
> Sent: Tuesday, August 15, 2017 6:10:37 PM
> Subject: Re: [Buildroot] [PATCH v8 0/3] Qt WebEngine support

> Hi,
> 
> I will test these patchs on a Beaglebone black.
> 
> Julien
> 
> 
> ----- Original Message -----
>> From: "Ga?l Portay" <gael.portay@savoirfairelinux.com>
>> To: "buildroot @ busybox . net" <buildroot@busybox.net>, "Thomas Petazzoni"
>> <thomas.petazzoni@free-electrons.com>,
>> "Peter Seiderer" <ps.report@gmx.net>, "Arnout Vandecappelle" <arnout@mind.be>,
>> "Julien CORJON" <corjon.j@ecagroup.com>
>> Cc: "Joshua Henderson" <joshua.henderson@microchip.com>, "Jean-Daniel Michaud"
>> <jean.daniel.michaud@gmail.com>, "brents
>> 3" <brents_3@hotmail.com>, "Ga?l Portay" <gael.portay@savoirfairelinux.com>,
>> "gomis" <tuzaklirefik@gmail.com>, "Akihiko
>> Odaki" <akihiko.odaki.4i@stu.hosei.ac.jp>
>> Sent: Tuesday, August 15, 2017 4:38:52 PM
>> Subject: [Buildroot] [PATCH v8 0/3] Qt WebEngine support
> 
>> Hi all,
>> 
>> The purpose of this patch series is to continue the integration of Qt5 WebEngine
>> in buildroot; started long time ago by Akihiko Odaki [1] and Julien Corjon [2].
>> 
>> The first patch provides the Qt WebEngine package.
>> 
>> The second patch is a special defconfig that provides a Qt WebEngine setup on
>> raspberrypi3 to provide a demo.
>> 
>> I have tested it with a rpi 3; and I will be glad if someone else has another
>> EGL platform to test it. You will find instructions to try qtwebengine on rpi3
>> in the commit message of the first patch.
>> 
>> Enjoy ;)
>> 
>> Note: Tested against:
>>        - GCC 6.x and binutils 2.27 on rpi 3.
>>        - GCC 7.x and binutils 2.28 on rpi 3.
>> 
>> [1] https://patchwork.ozlabs.org/patch/640633/
>> [2] http://lists.busybox.net/pipermail/buildroot/2015-July/132010.html
>> 
>> Changes since RFC:
>> - rebase to master (use SPDX licenses, remove license approved, update
>>   qt5_defconfig...)
>> - remove the patch "prefer arm tune"
>> - disable build with Qt 5.6 LTS (not working, waiting for 5.6.3 in August)
>> - re-order patches
>> 
>> Changes since v1:
>> - manually create symlinks to preserve SONAME
>> - add my signed-off-by to the qt webengine patch
>> - make qtwe package depends on supported architectures
>> - fix Kconfig comment about Qt 5.6
>> - sort alphabetically chromium licenses
>> 
>> Changes since v2:
>> - fix build issue when I sorted alphabetically the chromium licenses
>> - replace legacy option BR2_TARGET_ROOTFS_EXT2_BLOCK to
>>   new option BR2_TARGET_ROOTFS_EXT2_SIZE
>> 
>> Changes since v3:
>> - add my signed-off-by and the PR link to the rpi-userland patch
>> - move rpi patch index from 0001 to 0007
>> 
>> Changes since v4:
>> - bump to Qt WebEngine to 5.9.1
>> - added the mainlined patch that fixes the build issue with samples when print
>>   is not supported
>> - udev is selected (required by chromium)
>> - add config entry to use system ffmpeg and set it to yes by default
>> - the patch concerning the path to CA certificates has been removed since it is
>>   no more relevant in 5.9.x
>> - increase BR2_TARGET_ROOTFS_EXT2_SIZE to 360MB to support
>>   $ du -sk target/
>>   312480	target/
>> 
>> Changes since v5:
>> - really add the mainlined patch that fixes the build issue with samples when
>>   print is not supported
>> - add BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS to list all supported
>>   architectures
>> - add BR2_PACKAGE_QT5WEBENGINE missing dependencies (tc, mmu, wchar...)
>> - stop using && for depends on relationships
>> - update chromium licence list in chromium.inc
>> - remove option BR2_PACKAGE_QT5WEBENGINE_SYSTEM_FFMPEG;
>>   and compile ffmpeg, opus, libvpx and webp packages
>> - reword help and add url to documentation of package qt5webengine
>> - remove hash of 5.6.2 version
>> - add QT5WEBENGINE_ namespace to QMAKEFLAGS
>> - add missing TARGET_MAKE_ENV to BUILD_CMD
>> - create python symlink form $(HOST_DIR)/bin (was $(HOST_DIR)/usr/bin)
>> - add myself to DEVELOPERS
>> 
>> Changes since v6:
>> - rpi-userland commit message:
>>   fix output of ls -l snippet
>>   update url to link to qtwe-5.9.1
>>   add upstream-status
>> - qtwe:
>>   add missing host-bison, host-flex and host-pkgconf dependencies
>>   select BR2_HOSTARCH_NEEDS_IA32_COMPILER to let v8 compiles its host-tools
>>   with the same word-size as the target.
>> 
>> Changes since v7:
>> - rpi-userland:
>>   remove rpi-userland patch and apply upstreamed commit suggested by Yann.
>> - qtwe:
>>   reword the commit message to include notes from the coverletter
>>   depends on has udev + comment (udev is needed at runtime)
>>   depends on uses glibc + comment (for now, it builds only with glibc)
>>   select qtquickcontrols2 (may be needed at runtime)
>>   reword BR2_HOSTARCH_NEEDS_IA32_COMPILER comment
>> - raspberrypi3_qt5we_defconfig:
>>   rename raspberrypi3_qt5_defconfig into raspberrypi3_qt5we_defconfig
>>   bump kernel (synced with all rpi defconfigs)
>>   add gif, jpeg and options to raspberrypi3_qt5we_defconfig
>>   use M suffix with BR2_TARGET_ROOTFS_EXT2_SIZE option
>> 
>> Ga?l PORTAY (3):
>>  qt5webengine: new package
>>  configs: new raspberrypi3 qt5we config
>> 
>> DEVELOPERS                                         |   1 +
>> configs/raspberrypi3_qt5we_defconfig               |  50 ++++
>> package/qt5/Config.in                              |   1 +
>> .../0001-Always-compile-QWebEnginePage-print.patch | 246 ++++++++++++++++
>> ...ad-libEGL-and-libGLES2-symbols-implicitly.patch |  89 ++++++
>> package/qt5/qt5webengine/Config.in                 |  86 ++++++
>> package/qt5/qt5webengine/chromium.inc              | 310 +++++++++++++++++++++
>> package/qt5/qt5webengine/qt5webengine.hash         |   2 +
>> package/qt5/qt5webengine/qt5webengine.mk           |  80 ++++++
>> 9 files changed, 865 insertions(+)
>> create mode 100644 configs/raspberrypi3_qt5we_defconfig
>> create mode 100644
>> package/qt5/qt5webengine/5.9.1/0001-Always-compile-QWebEnginePage-print.patch
>> create mode 100644
>> package/qt5/qt5webengine/5.9.1/0002-Load-libEGL-and-libGLES2-symbols-implicitly.patch
>> create mode 100644 package/qt5/qt5webengine/Config.in
>> create mode 100644 package/qt5/qt5webengine/chromium.inc
>> create mode 100644 package/qt5/qt5webengine/qt5webengine.hash
>> create mode 100644 package/qt5/qt5webengine/qt5webengine.mk
>> 
>> --
>> 2.13.2
>> 
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

  reply	other threads:[~2017-08-16 22:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-15 20:38 [Buildroot] [PATCH v8 0/3] Qt WebEngine support Gaël PORTAY
2017-08-15 20:38 ` [Buildroot] [PATCH v8 1/2] qt5webengine: new package Gaël PORTAY
2017-08-15 20:38 ` [Buildroot] [PATCH v8 2/2] configs: new raspberrypi3 qt5we config Gaël PORTAY
2017-08-15 20:50 ` [Buildroot] [PATCH v8 0/3] Qt WebEngine support Thomas Petazzoni
2017-08-15 20:57   ` Gaël PORTAY
2017-08-15 21:57     ` Thomas Petazzoni
2017-08-15 22:04       ` Gaël PORTAY
2017-08-15 22:10 ` Julien Grossholtz
2017-08-16 22:21   ` Julien Grossholtz [this message]
2017-09-04 14:56     ` Zoltan Gyarmati
2017-09-12 12:40       ` Gaël PORTAY
2017-09-17 14:11         ` Gaël PORTAY
2017-09-23 20:24 ` Arnout Vandecappelle
2017-09-23 20:28   ` Gaël PORTAY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178556773.368025.1502922075670.JavaMail.zimbra@savoirfairelinux.com \
    --to=julien.grossholtz@savoirfairelinux.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.