diff options
-rw-r--r-- | recipes-qt/qt5/qtdeclarative.inc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtdeclarative.inc b/recipes-qt/qt5/qtdeclarative.inc index 12e650fa..bd68955b 100644 --- a/recipes-qt/qt5/qtdeclarative.inc +++ b/recipes-qt/qt5/qtdeclarative.inc | |||
@@ -5,4 +5,15 @@ SRC_URI += " \ | |||
5 | file://0003-Fix-wrong-calculation-of-viewPort-for-transitions.patch \ | 5 | file://0003-Fix-wrong-calculation-of-viewPort-for-transitions.patch \ |
6 | " | 6 | " |
7 | 7 | ||
8 | DEPENDS += "qtsvg qtxmlpatterns" | 8 | DEPENDS += "qtbase" |
9 | |||
10 | PACKAGECONFIG ??= "qtxmlpatterns" | ||
11 | PACKAGECONFIG[qtxmlpatterns] = ",,qtxmlpatterns" | ||
12 | |||
13 | do_configure_prepend() { | ||
14 | # disable qtxmlpatterns test if it isn't enabled by PACKAGECONFIG | ||
15 | sed -e 's/^\(qtHaveModule(xmlpatterns)\)/OE_QTXMLPATTERNS_ENABLED:\1/' -i ${S}/src/imports/imports.pro | ||
16 | sed -e 's/^\(!qtHaveModule(xmlpatterns)\)/!OE_QTXMLPATTERNS_ENABLED|\1/' -i ${S}/tests/auto/quick/quick.pro | ||
17 | } | ||
18 | |||
19 | EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'qtxmlpatterns', 'CONFIG+=OE_QTXMLPATTERNS_ENABLED', '', d)}" | ||