diff options
-rw-r--r-- | recipes-qt/qt5/qtquick1_git.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-qt/qt5/qtquick1_git.bb b/recipes-qt/qt5/qtquick1_git.bb index e34cc227..55179fa6 100644 --- a/recipes-qt/qt5/qtquick1_git.bb +++ b/recipes-qt/qt5/qtquick1_git.bb | |||
@@ -19,10 +19,12 @@ DEPENDS += "qtscript qtsvg qtxmlpatterns" | |||
19 | SRC_URI += "file://0001-qdeclarativetextinput-update-to-match-QWidgetLineCon.patch" | 19 | SRC_URI += "file://0001-qdeclarativetextinput-update-to-match-QWidgetLineCon.patch" |
20 | 20 | ||
21 | PACKAGECONFIG ??= "webkit" | 21 | PACKAGECONFIG ??= "webkit" |
22 | PACKAGECONFIG[webkit] = "CONFIG+=enable-webkit,CONFIG-=enable-webkit,qtwebkit" | 22 | PACKAGECONFIG[webkit] = ",,qtwebkit" |
23 | |||
24 | EXTRA_QMAKEVARS_PRE += "${@bb.utils.contains('PACKAGECONFIG', 'webkit', '', 'CONFIG+=noqtwebkit', d)}" | ||
23 | 25 | ||
24 | do_configure_prepend() { | 26 | do_configure_prepend() { |
25 | sed -i 's#^qtHaveModule(webkitwidgets):#enable-webkit:qtHaveModule(webkitwidgets):#g' ${S}/src/imports/imports.pro | 27 | sed -i 's#^qtHaveModule(webkitwidgets):#qtHaveModule(webkitwidgets):!contains(CONFIG, noqtwebkit):#g' ${S}/src/imports/imports.pro |
26 | } | 28 | } |
27 | 29 | ||
28 | SRCREV = "5e3bd5cb28e7af95b289a617ca2f7a8892498225" | 30 | SRCREV = "5e3bd5cb28e7af95b289a617ca2f7a8892498225" |