On 2/05/2014 4:28 PM, Jacob Kroon wrote:
Hi Jonathan,

On Fri, May 2, 2014 at 3:01 AM, Jonathan Liu <[email protected] <mailto:[email protected]>> wrote:

    On 1/05/2014 6:29 PM, Jacob Kroon wrote:

        Hi,

        For a while I've been working around a problem with using
        populate_sdk_qt5.bbclass in my image recipe, I've had to use a
        packagegroup-qt5-toolchain-target.bbappend to remove the following
        dependant packages:

        qt3d-dev
        qt3d-mkspecs
        qt3d-qmlplugins
        qtlocation-dev
        qtlocation-mkspecs
        qtlocation-plugins
        qtlocation-qmlplugins

        I'm building for wandboard-* machines, and if I try to bitbake
        qt3d or
        qtlocation, I get the following error:

        Project ERROR: Unknown module(s) in QT: opengl

        In my distro.conf I'm using:

        DISTRO_FEATURES_append = " opengl ptest systemd"
        DISTRO_FEATURES_remove = "pulseaudio sysvinit x11"

        Could anyone hint at what a proper solution would be ?

        I'm using master branches.

        Build Configuration:
        BB_VERSION        = "1.23.0"
        BUILD_SYS         = "x86_64-linux"
        NATIVELSBSTRING   = "Fedora-20"
        TARGET_SYS        = "arm-oe-linux-gnueabi"
        MACHINE           = "wandboard-dual"
        DISTRO            = "monkey"
        DISTRO_VERSION    = "0.1"
        TUNE_FEATURES     = "arm armv7a vfp neon callconvention-hard
        cortexa9"
        TARGET_FPU        = "vfp-neon"
        meta-qt5          =
        "master:485c277940d26e0c96953d8a649a9c84eed0afb8"
        meta              =
        "master:4c2ffce2ae32447a1e39877b9bcbc2cc11ddd2fa"
        meta-fsl-arm      =
        "master:27b0ffc33d75f0c37a876849a0db9c0277d5f036"
        meta-fsl-arm-extra =
        "master:a7515d4b20e43cfdd8654249fc16ac6b8c5ec3bc"

           -- Jacob

    Try adding the following to your distro.conf if you are using
    OpenGL ES 2.0:
    PACKAGECONFIG_GL_pn-qtbase = "gles2"


I think this is already done by a qtbase_%.bbappend in the meta-fsl-arm layer. I do have:

[OE jkroon@localhost build]$ bitbake -e qtbase | grep -e "^PACKAGECONFIG="
PACKAGECONFIG=" release udev evdev tools libs openssl gles2 jpeg libpng zlib accessibility tslib icu"

Could it be that Qt3D and QtLocation requires full OpenGL support, and that gles2 is not enough ?

-- Jacob
I have built all Qt modules fine with gles2. However, your PACKAGECONFIG doesn't have "widgets".
I think the QtOpenGL module depends on widgets.

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

Reply via email to