Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC 0/3] Qt WebEngine support
@ 2017-03-22 18:13 Gaël PORTAY
  2017-03-22 18:13 ` [Buildroot] [RFC 1/3] qt5webengine: new package Gaël PORTAY
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Gaël PORTAY @ 2017-03-22 18:13 UTC (permalink / raw)
  To: buildroot

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 fixes the rpi-userland OpenGL libraries symlinks. WebEngine
eglfs backend is linked against libEGL.so.1 and libGLESv2.so.2.

	# ls -l /usr/lib/lib*GL*
	lrwxrwxrwx    1 root     root            11 Mar 21 17:24 /usr/lib/libEGL.so -> libEGL.so.1
	lrwxrwxrwx    1 root     root            15 Mar 21 17:24 /usr/lib/libEGL.so.1 -> libEGL.so.1.0.0
	-rwxr-xr-x    1 root     root        163152 Mar 22 14:56 /usr/lib/libEGL.so.1.0.0
	lrwxrwxrwx    1 root     root            14 Mar 21 17:24 /usr/lib/libGLESv2.so -> libGLESv2.so.2
	lrwxrwxrwx    1 root     root            18 Mar 21 17:24 /usr/lib/libGLESv2.so.2 -> libGLESv2.so.2.0.0
	-rwxr-xr-x    1 root     root         78788 Mar 22 14:56 /usr/lib/libGLESv2.so.2.0.0

The last patch is a special defconfig that provides a Qt WebEngine setup on
raspberrypi3.

With this patchset, one can run the Qt quicknanobrowser sample on a rpi3 with
the following options:
  - BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc" and
    BR2_TOOLCHAIN_BUILDROOT_CXX=y (Qt 5 needs a toolchain w/ wchar, NPTL, C++,
    dynamic library)
  - BR2_PACKAGE_LIBERATION (Qt 5.8 requires a least one font)
  - BR2_PACKAGE_RPI_USERLAND (to enable OpenGL backend)
  - BR2_PACKAGE_QT5BASE_LICENSE_APPROVED (to not prompt for license agreement;
    webengine takes many hours to be compiled (and maybe more!))
  - BR2_PACKAGE_QT5BASE_EXAMPLES (to install quicknanobrowser sample)
  - BR2_PACKAGE_QT5QUICKCONTROLS (needed by quicknanobrowser)
  - BR2_PACKAGE_QT5WEBENGINE (because it is what we want :))

To browse for HTTPS websites, please consider adding the following options as
well:
  - BR2_PACKAGE_CA_CERT (for certificates)
  - BR2_PACKAGE_NTPD (to sync date)

To run quicknanobrowser:
	# cd /usr/lib/qt/examples/webengine/quicknanobrowser/
	# ./quicknanobrowser

Enjoy ;)

Note: I do not know yet how to add an input backend (mouse, keyboard). For now,
quicknanobrowser will just display the qt website.

[1] https://patchwork.ozlabs.org/patch/640633/
[2] http://lists.busybox.net/pipermail/buildroot/2015-July/132010.html

Ga?l PORTAY (3):
  qt5webengine: new package
  rpi-userland: fix opengl library symlinks
  configs: new raspberrypi3 qt5 config

 configs/raspberrypi3_qt5_defconfig                 |  49 +++++
 package/qt5/Config.in                              |   1 +
 .../qt5/qt5webengine/0001-prefer-arm_tune.patch    |  19 ++
 .../qt5webengine/0002-change-default-ssl-dir.patch |  18 ++
 package/qt5/qt5webengine/Config.in                 |  44 ++++
 package/qt5/qt5webengine/chromium.inc              | 238 +++++++++++++++++++++
 package/qt5/qt5webengine/qt5webengine.hash         |   5 +
 package/qt5/qt5webengine/qt5webengine.mk           |  82 +++++++
 .../0001-Add-OpenGL-library-versioning.patch       |  36 ++++
 9 files changed, 492 insertions(+)
 create mode 100644 configs/raspberrypi3_qt5_defconfig
 create mode 100644 package/qt5/qt5webengine/0001-prefer-arm_tune.patch
 create mode 100644 package/qt5/qt5webengine/0002-change-default-ssl-dir.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
 create mode 100644 package/rpi-userland/0001-Add-OpenGL-library-versioning.patch

-- 
2.12.0

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2017-07-17  5:42 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-22 18:13 [Buildroot] [RFC 0/3] Qt WebEngine support Gaël PORTAY
2017-03-22 18:13 ` [Buildroot] [RFC 1/3] qt5webengine: new package Gaël PORTAY
2017-04-18 16:04   ` Gaël PORTAY
2017-05-23  1:46     ` jsmith
2017-06-30  6:19       ` gomsis
2017-07-04 18:39         ` Gaël PORTAY
2017-07-07  5:33           ` Brent Sink
2017-07-07 18:58             ` Gaël PORTAY
2017-07-08 10:48               ` gomsis
2017-07-14 13:26                 ` gomsis
2017-07-14 17:38                   ` Gaël PORTAY
2017-07-17  5:40                     ` gomsis
2017-07-17  5:42                     ` gomsis
2017-03-22 18:13 ` [Buildroot] [RFC 2/3] rpi-userland: fix opengl library symlinks Gaël PORTAY
2017-03-22 21:54   ` Thomas Petazzoni
2017-03-22 22:38     ` Gaël PORTAY
2017-03-22 22:47       ` Thomas Petazzoni
2017-03-22 22:51         ` Gaël PORTAY
2017-03-25 14:25           ` Thomas Petazzoni
2017-04-11 16:30             ` Gaël PORTAY
2017-03-22 18:13 ` [Buildroot] [RFC 3/3] configs: new raspberrypi3 qt5 config Gaël PORTAY
2017-03-22 21:21 ` [Buildroot] [RFC 0/3] Qt WebEngine support Peter Seiderer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox