Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12416] New: qt5webengine should not use WEBENGINE_CONFIG
@ 2019-12-19  1:56 bugzilla at busybox.net
  2019-12-19  8:23 ` [Buildroot] [Bug 12416] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-12-19  1:56 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12416

            Bug ID: 12416
           Summary: qt5webengine should not use WEBENGINE_CONFIG
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: jeffy.chen at rock-chips.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Hi guys,

According to the changes, the WEBENGINE_CONFIG has been removed in 5.10.0:
https://code.qt.io/cgit/qt/qtwebengine.git/commit/?id=1691d2298a8adf511ed95d5aa5d4410adcbdd1e3


qt5webengine-5.12.2$ vi dist/changes-5.9.0

Important Changes
-----------------

 - Configure options are now handled by the global configure script. This
   means options previously controlled by WEBENGINE_CONFIG options should
   now use configure flags. For instance the configure command-line option
   -proprietary-codecs replaces WEBENGINE_CONFIG+=use_proprietary_codecs.

qt5webengine-5.12.2$ vi dist/changes-5.10.0

Important Changes
-----------------

   * WebEngine Features are now configured as Qt features and
     WEBENGINE_CONFIG has been removed.


This works:

+++ b/package/qt5/qt5webengine/qt5webengine.mk
@@ -32,10 +32,10 @@ ifeq ($(BR2_PACKAGE_QT5_VERSION_5_6),)
 QT5WEBENGINE_DEPENDENCIES += host-libpng host-libnss libnss
 endif

-QT5WEBENGINE_QMAKEFLAGS += WEBENGINE_CONFIG+=use_system_ffmpeg
+QT5WEBENGINE_CONFIG += -webengine-ffmpeg

 ifeq ($(BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS),y)
-QT5WEBENGINE_QMAKEFLAGS += WEBENGINE_CONFIG+=use_proprietary_codecs
+QT5WEBENGINE_CONFIG += -proprietary-codecs
 endif

 ifeq ($(BR2_PACKAGE_QT5WEBENGINE_ALSA),y)
@@ -66,7 +66,7 @@ QT5WEBENGINE_ENV +=
GN_PKG_CONFIG_HOST=$(@D)/host-bin/host-pkg-config
 endif

 define QT5WEBENGINE_CONFIGURE_CMDS
-       (cd $(@D); $(TARGET_MAKE_ENV) $(QT5WEBENGINE_ENV) $(HOST_DIR)/bin/qmake
$(QT5WEBENGINE_QMAKEFLAGS))
+       (cd $(@D); $(TARGET_MAKE_ENV) $(QT5WEBENGINE_ENV) $(HOST_DIR)/bin/qmake
$(QT5WEBENGINE_QMAKEFLAGS) -- $(QT5WEBENGINE_CONFIG))
 endef

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12416] qt5webengine should not use WEBENGINE_CONFIG
  2019-12-19  1:56 [Buildroot] [Bug 12416] New: qt5webengine should not use WEBENGINE_CONFIG bugzilla at busybox.net
@ 2019-12-19  8:23 ` bugzilla at busybox.net
  2020-02-18 13:47 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-12-19  8:23 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12416

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at buildroot.uclibc |ps.report at gmx.net
                   |.org                        |

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12416] qt5webengine should not use WEBENGINE_CONFIG
  2019-12-19  1:56 [Buildroot] [Bug 12416] New: qt5webengine should not use WEBENGINE_CONFIG bugzilla at busybox.net
  2019-12-19  8:23 ` [Buildroot] [Bug 12416] " bugzilla at busybox.net
@ 2020-02-18 13:47 ` bugzilla at busybox.net
  2020-02-20  7:27 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-02-18 13:47 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12416

--- Comment #1 from Peter Seiderer <ps.report@gmx.net> ---
Thanks for the bug report and suggested patch (and sorry for the delayed
response).

Meanwhile Nathan Ford took care of the suggested patch plus missing webp mux
and alsa support ([1], [2])..., the suggested patch seems to work for the
Qt-latest/5.12.x case ([3])...

One further question out of interest, on which hardware do you run
qtwebengine and how (or which buildroot config/defconfig do you use)?

There is a report from one buildroot user not to be able to run
the minimal example on RaspberryPi Zero (see [4] and [5])...

[1] http://lists.busybox.net/pipermail/buildroot/2020-January/272066.html
[2] https://patchwork.ozlabs.org/patch/1227357/
[3] http://lists.busybox.net/pipermail/buildroot/2020-February/274385.html
[4] http://lists.busybox.net/pipermail/buildroot/2020-February/273320.html
[5] http://lists.busybox.net/pipermail/buildroot/2020-February/273329.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12416] qt5webengine should not use WEBENGINE_CONFIG
  2019-12-19  1:56 [Buildroot] [Bug 12416] New: qt5webengine should not use WEBENGINE_CONFIG bugzilla at busybox.net
  2019-12-19  8:23 ` [Buildroot] [Bug 12416] " bugzilla at busybox.net
  2020-02-18 13:47 ` bugzilla at busybox.net
@ 2020-02-20  7:27 ` bugzilla at busybox.net
  2020-05-26  9:25 ` bugzilla at busybox.net
  2024-06-15 14:51 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-02-20  7:27 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12416

--- Comment #2 from JeffyCN <jeffy.chen@rock-chips.com> ---
(In reply to Peter Seiderer from comment #1)
Hi Peter,

Thanks for noticing that.

We are using a custom version of buildroot(2018.02-rc3 with qt5 bumpped to
5.12.2):
https://github.com/rockchip-linux/buildroot/tree/rockchip/2018.02-rc3

Configs: rockchip_*_defconfig, running on a few arm/arm64 based
platforms(rockchip evb boards)

We've tested minimal too, did see some issues on arm 32bit platforms:
1/ 5.12.2 would report segfaults, should be fine for the newer versions(e.g.
5.12.5):
https://github.com/rockchip-linux/buildroot/commit/6e4fc810cdea122b1bd86c8649d276c485f794f9

2/ I can't recall the exact phenomenon, could be the same as RaspberryPi's...

It seems like the chromium might be compiled with different fpu setting than
the other packages on arm 32bit platform, which is because it would try to
detect neon support from the qt5base's CFLAGS and currently buildroot would not
specify that there, but embedded in the gcc toolchain instead:

qt5webengine-5.12.2$ vi src/core/config/linux.pri
    # TODO: use neon detection from qtbase
    !lessThan(MARMV, 8) {
        gn_args += arm_use_neon=true
    } else {
        MFPU = $$extractCFlag("-mfpu=.*")
        !isEmpty(MFPU):contains(MFPU, ".*neon.*") {
            gn_args += arm_use_neon=true
        } else {
            gn_args += arm_use_neon=false
            # If the toolchain does not explicitly specify to use NEON
instructions
            # we use arm_neon_optional for ARMv7
            equals(MARMV, 7): gn_args += arm_optionally_use_neon=true
        }
    }

https://github.com/rockchip-linux/buildroot/commit/8e832026edbb6e70df283629dadca981854866ad

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12416] qt5webengine should not use WEBENGINE_CONFIG
  2019-12-19  1:56 [Buildroot] [Bug 12416] New: qt5webengine should not use WEBENGINE_CONFIG bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2020-02-20  7:27 ` bugzilla at busybox.net
@ 2020-05-26  9:25 ` bugzilla at busybox.net
  2024-06-15 14:51 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2020-05-26  9:25 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12416

--- Comment #3 from JeffyCN <jeffy.chen@rock-chips.com> ---
Hi guys,

the qt packages are using pkg-qmake.mk now, and the pending patch seems to be
wrong..:

$(QT5WEBENGINE_QMAKEFLAGS) -- $(QT5WEBENGINE_CONFIG))

needs a '--' between webengine config and other qmake flags.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 12416] qt5webengine should not use WEBENGINE_CONFIG
  2019-12-19  1:56 [Buildroot] [Bug 12416] New: qt5webengine should not use WEBENGINE_CONFIG bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2020-05-26  9:25 ` bugzilla at busybox.net
@ 2024-06-15 14:51 ` bugzilla
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2024-06-15 14:51 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12416

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yann.morin.1998@free.fr
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #4 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-06-15 14:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-19  1:56 [Buildroot] [Bug 12416] New: qt5webengine should not use WEBENGINE_CONFIG bugzilla at busybox.net
2019-12-19  8:23 ` [Buildroot] [Bug 12416] " bugzilla at busybox.net
2020-02-18 13:47 ` bugzilla at busybox.net
2020-02-20  7:27 ` bugzilla at busybox.net
2020-05-26  9:25 ` bugzilla at busybox.net
2024-06-15 14:51 ` bugzilla

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