qtquick1: fix qtwebkit support
PATCH 1/1 qtquick1: fix qtwebkit support
40b7a93a3c6cf05136c606824c1cea848b75bcb6 ("qtquick1: allow to disable qtwebkit support") allowed to disable qtwebkit but actually disabled it in every cases.
Use the same mechanism as qttools to implement the feature.
--- recipes-qt/qt5/qtquick1_git.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
recipes-qt/qt5/qtquick1_git.bb +5 -3
@@ -16,11 +16,13 @@ LIC_FILES_CHKSUM = " \ DEPENDS += "qtscript qtsvg qtxmlpatterns" # qttools -PACKAGECONFIG ??= "webkit" -PACKAGECONFIG[webkit] = "CONFIG+=enable-webkit,CONFIG-=enable-webkit,qtwebkit" +PACKAGECONFIG ??= "qtwebkit" +PACKAGECONFIG[qtwebkit] = ",,qtwebkit" + +EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'qtwebkit', '', 'CONFIG+=noqtwebkit', d)}" do_configure_prepend() { - sed -i 's#^qtHaveModule(webkitwidgets):#enable-webkit:qtHaveModule(webkitwidgets):#g' ${S}/src/imports/imports.pro + sed -i 's#^qtHaveModule(webkitwidgets):#qtHaveModule(webkitwidgets):!contains(CONFIG, noqtwebkit):#g' ${S}/src/imports/imports.pro } SRCREV = "87f2415adf34da08e6cd58f5da6f6a7d0d9cf141"
Signature · 1 line
2.7.0
Quoted 16 lines · Alexandre Belloni
40b7a93a3c6cf05136c606824c1cea848b75bcb6("qtquick1: allow to disable qtwebkit support") allowed to disable qtwebkit but actually disabled it in every cases.Use the same mechanism as qttools to implement the feature.
Signed-off-by Alexandre Belloni <[email protected]>--- recipes-qt/qt5/qtquick1_git.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)recipes-qt/qt5/qtquick1_git.bb +0
-0
recipes-qt/qt5/qtquick1_git.bb LIC_FILES_CHKSUM = " \ · line 20
Quoted 7 lines
recipes-qt/qt5/qtquick1_git.bb +2
-2@@ -16,11 +16,13 @@ LIC_FILES_CHKSUM = " \ DEPENDS += "qtscript qtsvg qtxmlpatterns" # qttools -PACKAGECONFIG ??= "webkit" -PACKAGECONFIG[webkit] = "CONFIG+=enable-webkit,CONFIG-=enable-webkit,qtwebkit" +PACKAGECONFIG ??= "qtwebkit" +PACKAGECONFIG[qtwebkit] = ",,qtwebkit"
Is there reason for renaming the packageconfig option?
Where did you see this issue? Weren't you testing master-next with:
http://patchwork.openembedded.org/patch/116717/
without corresponding oe-core change?
Quoted 12 lines
recipes-qt/qt5/qtquick1_git.bb +3
-1+ +EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'qtwebkit', '', 'CONFIG+=noqtwebkit', d)}" do_configure_prepend() { - sed -i 's#^qtHaveModule(webkitwidgets):#enable-webkit:qtHaveModule(webkitwidgets):#g' ${S}/src/imports/imports.pro + sed -i 's#^qtHaveModule(webkitwidgets):#qtHaveModule(webkitwidgets):!contains(CONFIG, noqtwebkit):#g' ${S}/src/imports/imports.pro } SRCREV = "87f2415adf34da08e6cd58f5da6f6a7d0d9cf141"Signature · 1 line
2.7.0
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 20 lines · Martin Jansa
Quoted 19 lines · Alexandre Belloni
40b7a93a3c6cf05136c606824c1cea848b75bcb6("qtquick1: allow to disable qtwebkit support") allowed to disable qtwebkit but actually disabled it in every cases.Use the same mechanism as qttools to implement the feature.
Signed-off-by Alexandre Belloni <[email protected]>--- recipes-qt/qt5/qtquick1_git.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)recipes-qt/qt5/qtquick1_git.bb +0
-0@@ -16,11 +16,13 @@ LIC_FILES_CHKSUM = " \ DEPENDS += "qtscript qtsvg qtxmlpatterns" # qttools
Quoted 7 lines
recipes-qt/qt5/qtquick1_git.bb LIC_FILES_CHKSUM = " \ · line 20
Quoted 4 lines
recipes-qt/qt5/qtquick1_git.bb +2
-2-PACKAGECONFIG ??= "webkit" -PACKAGECONFIG[webkit] = "CONFIG+=enable-webkit,CONFIG-=enable-webkit,qtwebkit" +PACKAGECONFIG ??= "qtwebkit" +PACKAGECONFIG[qtwebkit] = ",,qtwebkit"Is there reason for renaming the packageconfig option?
I wanted to align with the qttools option.
Quoted 4 lines
Where did you see this issue? Weren't you testing master-next with:
http://patchwork.openembedded.org/patch/116717/
without corresponding oe-core change?
It was on jethro. I'll try a NODISTRO build to see whether this is caused by poky.
Signature · 3 lines
Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Quoted 31 lines · Alexandre Belloni
Quoted 20 lines · Martin Jansa
Quoted 19 lines · Alexandre Belloni
40b7a93a3c6cf05136c606824c1cea848b75bcb6("qtquick1: allow to disable qtwebkit support") allowed to disable qtwebkit but actually disabled it in every cases.Use the same mechanism as qttools to implement the feature.
Signed-off-by Alexandre Belloni <[email protected]>--- recipes-qt/qt5/qtquick1_git.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)recipes-qt/qt5/qtquick1_git.bb +0
-0@@ -16,11 +16,13 @@ LIC_FILES_CHKSUM = " \ DEPENDS += "qtscript qtsvg qtxmlpatterns" # qttoolsQuoted 7 lines
recipes-qt/qt5/qtquick1_git.bb LIC_FILES_CHKSUM = " \ · line 20
Quoted 4 lines
recipes-qt/qt5/qtquick1_git.bb +2
-2-PACKAGECONFIG ??= "webkit" -PACKAGECONFIG[webkit] = "CONFIG+=enable-webkit,CONFIG-=enable-webkit,qtwebkit" +PACKAGECONFIG ??= "qtwebkit" +PACKAGECONFIG[qtwebkit] = ",,qtwebkit"Is there reason for renaming the packageconfig option?
I wanted to align with the qttools option.
Quoted 8 lines
Quoted 4 lines
Where did you see this issue? Weren't you testing master-next with:
http://patchwork.openembedded.org/patch/116717/
without corresponding oe-core change?It was on jethro. I'll try a NODISTRO build to see whether this is caused by poky.
So I did a nodistro build and I can reproduce the issue on Jethro. The dependency on qtwebkit works properly but CONFIG is not passed so it does not contain "enable-webkit".
Signature · 3 lines
Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com