[meta-freescale] [meta-fsl-arm] QT4 on i.MX6?

Gary Thomas gary at mlbassoc.com
Mon Jan 13 07:49:05 PST 2014

When I try to run QT4 (embedded) on my i.MX6 platforms, they
all crash during initialization.

root at sabrelite:~# gdb qtdemoE
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-amltd-linux-gnueabi".
For bug reporting instructions, please see:
Reading symbols from /usr/bin/qtdemoE...(no debugging symbols found)...done.
(gdb) r -qws
Starting program: /usr/bin/qtdemoE -qws
Program received signal SIGSEGV, Segmentation fault.
gcoOS_InitLocalDisplayInfo (Display=0x0,
     localDisplay=localDisplay at entry=0x34bc8504) at gc_hal_user_dri.c:3919
(gdb) bt
#0  gcoOS_InitLocalDisplayInfo (Display=0x0,
     localDisplay=localDisplay at entry=0x34bc8504) at gc_hal_user_dri.c:3919
#1  0x2c46905c in veglInitLocalDisplayInfo (Display=Display at entry=0x34bc84f8)
     at gc_egl_platform.c:336
#2  0x2c463240 in veglReferenceDisplay (Thread=Thread at entry=0x5ddf0,
     Display=Display at entry=0x34bc84f8) at gc_egl_init.c:969
#3  0x2c4635f8 in eglInitialize (Dpy=0x34bc84f8, major=0x0, minor=0x0)
     at gc_egl_init.c:1185
#4  0x2b5da3b0 in QEgl::display() () from /usr/lib/libQtGuiE.so.4
#5  0x2b5dbbe4 in QEgl::chooseConfig(QEglProperties const*, QEgl::PixelFormatMatch) () from /usr/lib/libQtGuiE.so.4
#6  0x2b5dc4d8 in QEglContext::chooseConfig(QEglProperties const&, QEgl::PixelFormatMatch) () from /usr/lib/libQtGuiE.4
#7  0x2aeb04d4 in QGLContext::chooseContext(QGLContext const*) ()
    from /usr/lib/libQtOpenGLE.so.4
#8  0x2ae73ee4 in QGLContext::create(QGLContext const*) ()
    from /usr/lib/libQtOpenGLE.so.4
#9  0x2aeb01c4 in QGLWidget::setContext(QGLContext*, QGLContext const*, bool)
     () from /usr/lib/libQtOpenGLE.so.4
#10 0x2ae74290 in ?? () from /usr/lib/libQtOpenGLE.so.4

Has anyone else tried this on i.MX6 (and got it to work)?

Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world

More information about the meta-freescale mailing list