package/qt5/qt5webkit: widgets are mandatory
PATCH 1/3 package/qt5/qt5webkit: widgets are mandatory
Fix the following build failure raised since bump to version 5.212.0-alpha4 in commit df0b0fe6919c0d0f3750f439a3cfa765232bd569:
CMake Error at /home/fabrice/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set "Qt5Widgets_DIR" to a directory containing one of the above files. If "Qt5Widgets" provides a separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
Source/cmake/OptionsQt.cmake:646 (find_package) Source/cmake/WebKitCommon.cmake:51 (include)
CMakeLists.txt:137 (include)
Fixes:
- No autobuilder failures (yet)
--- package/qt5/qt5webkit/Config.in | 1 + 1 file changed, 1 insertion(+)
package/qt5/qt5webkit/Config.in +1 -0
@@ -17,6 +17,7 @@ config BR2_PACKAGE_QT5WEBKIT select BR2_PACKAGE_LIBPNG select BR2_PACKAGE_QT5BASE_ICU select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_WIDGETS select BR2_PACKAGE_QT5LOCATION select BR2_PACKAGE_QT5SENSORS select BR2_PACKAGE_QT5WEBCHANNEL
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/3 package/qt5/qt5webkit: fix build without opengl
Fix the following build failure without opengl raised since bump to version 5.212.0-alpha4 in commit df0b0fe6919c0d0f3750f439a3cfa765232bd569:
CMake Error at Source/cmake/OptionsQt.cmake:592 (message):
Qt with OpenGL support is required for ENABLE_OPENGL
WebKit2 unconditionally depends on TextureMapperGL.h and tools builds QtTestBrowser which unconditionally depends on QtOpenGL
Fixes:
- http://autobuild.buildroot.org/results/5604555279f99ba0221dd8d0baf9ab4d7cca3aed
--- package/qt5/qt5webkit/qt5webkit.mk | 11 +++++++++++ 1 file changed, 11 insertions(+)
package/qt5/qt5webkit/qt5webkit.mk +11 -0
@@ -20,6 +20,16 @@ QT5WEBKIT_LICENSE = LGPL-2.1+, BSD-3-Clause, BSD-2-Clause # in the archive. QT5WEBKIT_LICENSE_FILES += LICENSE.LGPLv21 +ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL),y) +QT5WEBKIT_CONF_OPTS += \ + -DENABLE_OPENGL=ON \ + -DENABLE_WEBKIT2=ON +else +QT5WEBKIT_CONF_OPTS += \ + -DENABLE_OPENGL=OFF \ + -DENABLE_WEBKIT2=OFF +endif + ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) QT5WEBKIT_DEPENDENCIES += xlib_libXcomposite xlib_libXext xlib_libXrender endif
@@ -29,6 +39,7 @@ QT5WEBKIT_DEPENDENCIES += qt5declarative endif QT5WEBKIT_CONF_OPTS += \ + -DENABLE_TOOLS=OFF \ -DPORT=Qt \ -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \ -DUSE_LIBHYPHEN=OFF
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/3] package/qt5/qt5webkit: fix build without opengl
Quoted 8 lines · Fabrice Fontaine
Fix the following build failure without opengl raised since bump to version 5.212.0-alpha4 in commit
df0b0fe6919c0d0f3750f439a3cfa765232bd569:CMake Error at Source/cmake/OptionsQt.cmake:592 (message):
Qt with OpenGL support is required forENABLE_OPENGL
Quoted 7 lines
WebKit2 unconditionally depends on
TextureMapperGL.hand tools builds QtTestBrowser which unconditionally depends on QtOpenGLFixes:
- http://autobuild.buildroot.org/results/5604555279f99ba0221dd8d0baf9ab4d7cca3aedSigned-off-by Fabrice Fontaine <[email protected]>
Quoted 36 lines
--- package/qt5/qt5webkit/qt5webkit.mk | 11 +++++++++++ 1 file changed, 11 insertions(+)package/qt5/qt5webkit/qt5webkit.mk +11
-1@@ -20,6 +20,16 @@ QT5WEBKIT_LICENSE = LGPL-2.1+, BSD-3-Clause, BSD-2-Clause # in the archive. QT5WEBKIT_LICENSE_FILES += LICENSE.LGPLv21 +ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL),y) +QT5WEBKIT_CONF_OPTS += \ + -DENABLE_OPENGL=ON \ + -DENABLE_WEBKIT2=ON +else +QT5WEBKIT_CONF_OPTS += \ + -DENABLE_OPENGL=OFF \ + -DENABLE_WEBKIT2=OFF +endif + ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) QT5WEBKIT_DEPENDENCIES += xlib_libXcomposite xlib_libXext xlib_libXrender endif@@ -29,6 +39,7 @@ QT5WEBKIT_DEPENDENCIES += qt5declarative endif QT5WEBKIT_CONF_OPTS += \ + -DENABLE_TOOLS=OFF \ -DPORT=Qt \ -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \ -DUSE_LIBHYPHEN=OFF --2.34.1
Quoted 4 lines
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 2/3] package/qt5/qt5webkit: fix build without opengl
Quoted 55 lines · James Hilliard
Quoted 8 lines · Fabrice Fontaine
Fix the following build failure without opengl raised since bump to version 5.212.0-alpha4 in commit
df0b0fe6919c0d0f3750f439a3cfa765232bd569:CMake Error at Source/cmake/OptionsQt.cmake:592 (message):
Qt with OpenGL support is required forENABLE_OPENGLQuoted 7 lines
WebKit2 unconditionally depends on
TextureMapperGL.hand tools builds QtTestBrowser which unconditionally depends on QtOpenGLFixes:
- http://autobuild.buildroot.org/results/5604555279f99ba0221dd8d0baf9ab4d7cca3aedSigned-off-by Fabrice Fontaine <[email protected]>Reviewed-by James Hilliard <[email protected]>Quoted 36 lines
--- package/qt5/qt5webkit/qt5webkit.mk | 11 +++++++++++ 1 file changed, 11 insertions(+)package/qt5/qt5webkit/qt5webkit.mk +11
-1@@ -20,6 +20,16 @@ QT5WEBKIT_LICENSE = LGPL-2.1+, BSD-3-Clause, BSD-2-Clause # in the archive. QT5WEBKIT_LICENSE_FILES += LICENSE.LGPLv21 +ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL),y) +QT5WEBKIT_CONF_OPTS += \ + -DENABLE_OPENGL=ON \ + -DENABLE_WEBKIT2=ON +else +QT5WEBKIT_CONF_OPTS += \ + -DENABLE_OPENGL=OFF \ + -DENABLE_WEBKIT2=OFF +endif + ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) QT5WEBKIT_DEPENDENCIES += xlib_libXcomposite xlib_libXext xlib_libXrender endif@@ -29,6 +39,7 @@ QT5WEBKIT_DEPENDENCIES += qt5declarative endif QT5WEBKIT_CONF_OPTS += \ + -DENABLE_TOOLS=OFF \ -DPORT=Qt \ -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \ -DUSE_LIBHYPHEN=OFF --2.34.1
Quoted 8 lines
Quoted 4 lines
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/3 package/qt5/qt5webkit: build shared core
In reply to Fabrice FontaineBuild JavaScriptCore and WebCore as shared libraries to avoid a build failure
Fixes:
- No autobuilder failures (yet)
--- package/qt5/qt5webkit/qt5webkit.mk | 1 + 1 file changed, 1 insertion(+)
package/qt5/qt5webkit/qt5webkit.mk +1 -0
@@ -42,6 +42,7 @@ QT5WEBKIT_CONF_OPTS += \ -DENABLE_TOOLS=OFF \ -DPORT=Qt \ -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \ + -DSHARED_CORE=ON \ -DUSE_LIBHYPHEN=OFF $(eval $(cmake-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 3/3] package/qt5/qt5webkit: build shared core
Quoted 27 lines · Fabrice Fontaine
Build JavaScriptCore and WebCore as shared libraries to avoid a build failure
Fixes:
- No autobuilder failures (yet)Signed-off-by Fabrice Fontaine <[email protected]>--- package/qt5/qt5webkit/qt5webkit.mk | 1 + 1 file changed, 1 insertion(+)package/qt5/qt5webkit/qt5webkit.mk +1
-1@@ -42,6 +42,7 @@ QT5WEBKIT_CONF_OPTS += \ -DENABLE_TOOLS=OFF \ -DPORT=Qt \ -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \ + -DSHARED_CORE=ON \ -DUSE_LIBHYPHEN=OFF $(eval $(cmake-package)) --2.34.1
Quoted 4 lines
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 43 lines · Fabrice Fontaine
Fix the following build failure raised since bump to version 5.212.0-alpha4 in commit
df0b0fe6919c0d0f3750f439a3cfa765232bd569:CMake Error at
/home/fabrice/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt5/Qt5Config.cmake:28(find_package):
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:Qt5WidgetsConfig.cmake
qt5widgets-config.cmakeAdd the installation prefix of "Qt5Widgets" to
CMAKE_PREFIX_PATHor set "Qt5Widgets_DIR" to a directory containing one of the above files. If "Qt5Widgets" provides a separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
Source/cmake/OptionsQt.cmake:646 (find_package) Source/cmake/WebKitCommon.cmake:51 (include)
CMakeLists.txt:137 (include)Fixes:
- No autobuilder failures (yet)Signed-off-by Fabrice Fontaine <[email protected]>--- package/qt5/qt5webkit/Config.in | 1 + 1 file changed, 1 insertion(+)package/qt5/qt5webkit/Config.in +1
-1@@ -17,6 +17,7 @@ config BR2_PACKAGE_QT5WEBKIT select BR2_PACKAGE_LIBPNG select BR2_PACKAGE_QT5BASE_ICU select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_WIDGETS select BR2_PACKAGE_QT5LOCATION select BR2_PACKAGE_QT5SENSORS select BR2_PACKAGE_QT5WEBCHANNEL --2.34.1
Quoted 4 lines
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 19 lines · Fabrice Fontaine
Fix the following build failure raised since bump to version 5.212.0-alpha4 in commit
df0b0fe6919c0d0f3750f439a3cfa765232bd569:CMake Error at
/home/fabrice/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt5/Qt5Config.cmake:28(find_package):
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:Qt5WidgetsConfig.cmake
qt5widgets-config.cmakeAdd the installation prefix of "Qt5Widgets" to
CMAKE_PREFIX_PATHor set "Qt5Widgets_DIR" to a directory containing one of the above files. If "Qt5Widgets" provides a separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
Source/cmake/OptionsQt.cmake:646 (find_package) Source/cmake/WebKitCommon.cmake:51 (include) CMakeLists.txt:137 (include)
Quoted 4 lines
Fixes:
- No autobuilder failures (yet)Signed-off-by Fabrice Fontaine <[email protected]>
Series applied to master, thanks.
Regards,
Arnout
Quoted 9 lines
--- package/qt5/qt5webkit/Config.in | 1 + 1 file changed, 1 insertion(+)package/qt5/qt5webkit/Config.in +0
-0
package/qt5/qt5webkit/Config.in config BR2_PACKAGE_QT5WEBKIT · line 23
Quoted 7 lines
package/qt5/qt5webkit/Config.in +1
-0@@ -17,6 +17,7 @@ config BR2_PACKAGE_QT5WEBKIT select BR2_PACKAGE_LIBPNG select BR2_PACKAGE_QT5BASE_ICU select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_WIDGETS select BR2_PACKAGE_QT5LOCATION select BR2_PACKAGE_QT5SENSORS select BR2_PACKAGE_QT5WEBCHANNEL
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot