[oe] [meta-qt5][PATCH] Added module qtquickcontrols

Erik Botö erik.boto at pelagicore.com
Tue Sep 17 12:55:52 UTC 2013


Hi,

I just realized this patch does not package all files. The qt5.inc
only pick up on files three directories "deep", so I have to extend
this in qtquickcontrols.inc using:

FILES_${PN}-qmlplugins += " \
    ${OE_QMAKE_PATH_QML}/*/*/*/*/qmldir \
    ${OE_QMAKE_PATH_QML}/*/*/*/*/*.qmltypes \
    ${OE_QMAKE_PATH_QML}/*/*/*/*/*.qml \
    ${OE_QMAKE_PATH_QML}/*/*/*/*/*.js \
    ${OE_QMAKE_PATH_QML}/*/*/*/*/*/qmldir \
    ${OE_QMAKE_PATH_QML}/*/*/*/*/*/*.qmltypes \
    ${OE_QMAKE_PATH_QML}/*/*/*/*/*/*.qml \
    ${OE_QMAKE_PATH_QML}/*/*/*/*/*/*.js \
    "

I would assume that this is better done in qt5.inc, can't really think
of any big drawback with having it central instead of per module and I
guess the decision to go "three deep" was just that it covered the
modules that recipes was written for at that time. Right?

Cheers,
Erik

On Wed, Sep 11, 2013 at 1:19 PM, Erik Botö <erik.boto at pelagicore.com> wrote:
> Signed-off-by: Erik Botö <erik.boto at pelagicore.com>
> ---
>  recipes-qt/qt5/qtquickcontrols.inc      | 3 +++
>  recipes-qt/qt5/qtquickcontrols_5.1.0.bb | 5 +++++
>  2 files changed, 8 insertions(+)
>  create mode 100644 recipes-qt/qt5/qtquickcontrols.inc
>  create mode 100644 recipes-qt/qt5/qtquickcontrols_5.1.0.bb
>
> diff --git a/recipes-qt/qt5/qtquickcontrols.inc b/recipes-qt/qt5/qtquickcontrols.inc
> new file mode 100644
> index 0000000..63e884e
> --- /dev/null
> +++ b/recipes-qt/qt5/qtquickcontrols.inc
> @@ -0,0 +1,3 @@
> +require qt5.inc
> +
> +DEPENDS += "qtdeclarative"
> diff --git a/recipes-qt/qt5/qtquickcontrols_5.1.0.bb b/recipes-qt/qt5/qtquickcontrols_5.1.0.bb
> new file mode 100644
> index 0000000..fc880d7
> --- /dev/null
> +++ b/recipes-qt/qt5/qtquickcontrols_5.1.0.bb
> @@ -0,0 +1,5 @@
> +require qt5-${PV}.inc
> +require ${PN}.inc
> +
> +SRC_URI[md5sum] = "b3825124a173a36f63c2f8380dc61e81"
> +SRC_URI[sha256sum] = "88d39421d78464c3900c37616e8369fc8d998c1b0f611980e6e082f46569646b"
> --
> 1.8.1.2
>



-- 
=============================================
Erik Botö
Senior Software Engineer
Pelagicore AB
Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden
Mobile: +46 (0)76 881 72 03
E-Mail: erik.boto at pelagicore.com
=============================================



More information about the Openembedded-devel mailing list