Hi Khem,

It seems not, since I disabled X11. Only libxkbcommon is needed, and it
doesn't pull the whole X11 AFAIK.

Cheers,
Herve

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Khem
Raj
Sent: vendredi 20 janvier 2017 07:52
To: openembeded-devel <[email protected]>
Subject: ***SPAM*** Re: [oe] [meta-qt5][PATCH] Minor improvements: configure
complains it can't find oe-device-extra.pri, and add libxkbcommon in the
dependencies

On Thu, Jan 19, 2017 at 5:07 AM, Herve Jourdain <[email protected]>
wrote:
> During configure, it complains it can't find oe-device-extra.pri, but it
doesn't result in any error. Fix it, though, just in case.
> In qtwayland, xkb should be optional, but it's not for the moment, so add
it to the dependencies.

Does this also mean that now we need to enable x11 along with wayland for
distro features ?

>
> Signed-off-by: Herve Jourdain <[email protected]>
> ---
>  recipes-qt/qt5/qtbase_git.bb    | 3 +++
>  recipes-qt/qt5/qtwayland_git.bb | 1 +
>  2 files changed, 4 insertions(+)
>
> diff --git a/recipes-qt/qt5/qtbase_git.bb 
> b/recipes-qt/qt5/qtbase_git.bb index 6541973..258c7ed 100644
> --- a/recipes-qt/qt5/qtbase_git.bb
> +++ b/recipes-qt/qt5/qtbase_git.bb
> @@ -173,6 +173,9 @@ do_configure() {
>          ln -sf ${OE_QMAKE_QMAKE_ORIG} ${B}/bin/qmake
>      fi
>
> +    # Avoid qmake error "Cannot read
[...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory"
during configuration
> +    touch ${S}/mkspecs/oe-device-extra.pri
> +
>      ${S}/configure -v \
>          -opensource -confirm-license \
>          -sysroot ${STAGING_DIR_TARGET} \ diff --git 
> a/recipes-qt/qt5/qtwayland_git.bb b/recipes-qt/qt5/qtwayland_git.bb 
> index e315924..51421d5 100644
> --- a/recipes-qt/qt5/qtwayland_git.bb
> +++ b/recipes-qt/qt5/qtwayland_git.bb
> @@ -18,6 +18,7 @@ LIC_FILES_CHKSUM = " \
>
>  #FIXME: xkb should be optional; we add it here to fix the build error
without it
>  #       (https://bugreports.qt.io/browse/QTBUG-54851)
> +DEPENDS += "libxkbcommon"
>  PACKAGECONFIG ?= " \
>      compositor-api \
>      wayland-egl \
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to