Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Toradex Apalis imx6 + Qt5.3.1 + X11 (Angstrom)
Forum Updated to NodeBB v4.3 + New Features

Toradex Apalis imx6 + Qt5.3.1 + X11 (Angstrom)

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 2.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    healthhazard
    wrote on last edited by
    #1

    Hi,

    as there is the Qt Enterprise Boot2Qt Demo Image available for the Toradex imx6 without an X server, I wonder whether anybody succeeded in compiling Qt5.3.1 for X11 (xcb) at all or even with OpenGL support.

    I am using the Openembedded toolchain.

    I tried a lot of configure parameter configurations, but most tutorials are for use without X11.
    So I tried to configure with: -qpa xcb -no-eglfs -no-opengl -opengl es2
    -qpa xcb -no-eglfs -opengl es2
    -qpa xcb -no-eglfs -no-opengl

    full configure command looks like this: @./configure -qpa xcb -no-eglfs -no-opengl -opengl es2 -device imx6 -device-option CROSS_COMPILE=~/openembedded/oe-core/build/out-eglibc/sysroots/x86_64-linux/usr/bin/armv7ahf-vfp-neon-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi- -sysroot ~/openembedded/oe-core/build/out-eglibc/sysroots/apalis-imx6 -opensource -confirm-license -optimized-qmake -release -make tests -prefix /opt/qt5-imx6 -make examples -no-pch -qt-xcb -skip qttools -no-kms -fontconfig –v@ configure says that everything is fine, even OpenGL yes (ES 2.x).

    When I run make, everything looks fine, but after deployment I get the following segfault when running opengl-examples:
    @Qt Warning: Could not find a location of the system's compose files. consider setting the QTCOMPOSE environment variable.
    QXcbIntegration: Cannot create platform OpenGL context, neither GLX or EGL are enabled.
    Segmentation fault.@

    Maybe the problem is the included qt-xcb? When I try to configure Qt without qt-xcb I get the following error: @xcb-syslib disabled.
    The test for linking against libxcb and support libraries failed!
    You might need to install dependency packages, or pass -qt-xcb.@

    I also tried to build libxcb with openembedded, but it seems to me that it isn't available as a recipie.

    Adapting these instructions "Integrate Qt5 into yocto sato image (Wandboard)":http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard for Qt5.3.1 also could not get me further towards a running Qt5 environment.

    Can anybody point me in the right direction, what else I could try?

    Thanks in advance,
    hhazard

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved