qtwebengine: build examples by default
PATCH 1/1 qtwebengine: build examples by default
From: Manuel Bachmann <[email protected]>
Just as we do for qtwebkit, let us have a patch to build qtwebengine examples by default.
Otherwise, the "qtwebengine-examples" package will be empty, and attempting to add it with "IMAGE_INSTALL_append" will result in an error message.
--- .../0001-examples-enable-building-examples-by-def.patch | 7 +++++++ recipes-qt/qt5/qtwebengine_git.bb | 1 + 2 files changed, 8 insertions(+) create mode 100644 recipes-qt/qt5/qtwebengine/0001-examples-enable-building-examples-by-def.patch
recipes-qt/qt5/qtwebengine/0001-examples-enable-building-examples-by-def.patch new file +7 -0
@@ -0,0 +1,7 @@ +--- a/qtwebengine.pro 2016-01-04 02:08:57.152198023 +0000 ++++ b/qtwebengine.pro 2016-01-04 02:09:11.667422022 +0000 +@@ -1,2 +1,4 @@ + load(qt_build_config) + load(qt_parts) ++ ++SUBDIRS += examples
recipes-qt/qt5/qtwebengine_git.bb +1 -0
@@ -115,6 +115,7 @@ SRC_URI += " \ file://0002-media_capture_devices_dispatcher.h-Include-QCoreApplication-translate.patch \ file://0003-WebEngine-qquickwebengineview_p_p.h-add-inc-QColor.patch \ file://0001-chromium-jpeg_codec.cc_Change-false-to-FALSE-and-1-to-TRUE.patch \ + file://0001-examples-enable-building-examples-by-def.patch \ " SRCREV_qtwebengine = "40ef43e0d69c4a86c9430b7f264d2cde6340ee0f"
Signature · 1 line
1.7.10.4
Quoted 10 lines · Manuel Bachmann
From: Manuel Bachmann <[email protected]>
Just as we do for qtwebkit, let us have a patch to build qtwebengine examples by default.
Otherwise, the "qtwebengine-examples" package will be empty, and attempting to add it with "
IMAGE_INSTALL_append" will result in an error message.Signed-off-by Manuel Bachmann <[email protected]>
This should be a distro option and not enabled for everyone.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 7 lines · Otavio Salvador
Quoted 5 lines · Manuel Bachmann
From: Manuel Bachmann <[email protected]>
Just as we do for qtwebkit, let us have a patch to build qtwebengine examples by default.
Quoted 8 lines
Quoted 5 lines
Otherwise, the "qtwebengine-examples" package will be empty, and attempting to add it with "
IMAGE_INSTALL_append" will result in an error message.Signed-off-by Manuel Bachmann <[email protected]>This should be a distro option and not enabled for everyone.
Also there is no need to do this with a patch, same result is achieved with:
EXTRA_QMAKEVARS_PRE += "QT_BUILD_PARTS+=examples"
Maybe this could be added to qt5.inc as a PACKAGECONFIG option? This would allow easily enable examples on any qt module.
Quoted 20 lines · Samuli Piippo
Quoted 9 lines · Otavio Salvador
Quoted 6 lines · Manuel Bachmann
From: Manuel Bachmann <[email protected]>
Just as we do for qtwebkit, let us have a patch to build qtwebengine examples by default.
Quoted 9 lines
Quoted 5 lines
Otherwise, the "qtwebengine-examples" package will be empty, and attempting to add it with "
IMAGE_INSTALL_append" will result in an error message.Signed-off-by Manuel Bachmann <[email protected]>This should be a distro option and not enabled for everyone.
Quoted 6 lines
Also there is no need to do this with a patch, same result is achieved with:
EXTRA_QMAKEVARS_PRE+= "QT_BUILD_PARTS+=examples"Maybe this could be added to qt5.inc as a PACKAGECONFIG option? This would allow easily enable examples on any qt module.
It is:
https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qtbase_git.bb#L67
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 24 lines · Otavio Salvador
Quoted 22 lines · Samuli Piippo
Quoted 9 lines · Otavio Salvador
Quoted 6 lines · Manuel Bachmann
From: Manuel Bachmann <[email protected]>
Just as we do for qtwebkit, let us have a patch to build qtwebengine examples by default.
Quoted 9 lines
Quoted 5 lines
Otherwise, the "qtwebengine-examples" package will be empty, and attempting to add it with "
IMAGE_INSTALL_append" will result in an error message.Signed-off-by Manuel Bachmann <[email protected]>This should be a distro option and not enabled for everyone.
Also there is no need to do this with a patch, same result is achieved with:
Quoted 9 lines
Quoted 4 lines
EXTRA_QMAKEVARS_PRE+= "QT_BUILD_PARTS+=examples"Maybe this could be added to qt5.inc as a PACKAGECONFIG option? This would allow easily enable examples on any qt module.
It is:
https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qtbase_git.bb#L67
Enabling the PACKAGECONFIG[examples] from qtbase means that every qt module will build their examples. If added to qt5.inc, it would build examples only from a qt module you bbappend with PACKAGECONFIG += examples.
Quoted 40 lines · Samuli Piippo
Quoted 39 lines · Otavio Salvador
Quoted 24 lines · Samuli Piippo
Quoted 15 lines · Otavio Salvador
Quoted 11 lines · Manuel Bachmann
From: Manuel Bachmann <[email protected]>
Just as we do for qtwebkit, let us have a patch to build qtwebengine examples by default.
Otherwise, the "qtwebengine-examples" package will be empty, and attempting to add it with "
IMAGE_INSTALL_append" will result in an error message.Quoted 6 lines
Quoted 1 line
Signed-off-by Manuel Bachmann <[email protected]>This should be a distro option and not enabled for everyone.
Quoted 7 lines
Also there is no need to do this with a patch, same result is achieved with:
EXTRA_QMAKEVARS_PRE+= "QT_BUILD_PARTS+=examples"Maybe this could be added to qt5.inc as a PACKAGECONFIG option? This would allow easily enable examples on any qt module.
It is:
Quoted 7 lines
Enabling the PACKAGECONFIG[examples] from qtbase means that every qt module will build their examples.
If added to qt5.inc, it would build examples only from a qt module you bbappend with PACKAGECONFIG += examples.
Agreed; I support this approach if you are willing to send a patch; otherwise I can do it.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750