6

Click here to load reader

Qt5.0.0 eglfs abort issue

Embed Size (px)

Citation preview

Page 1: Qt5.0.0 eglfs abort issue

Qt5.0.x eglfs abort issue

Page 2: Qt5.0.0 eglfs abort issue

Environment

• Any EGLFS based plugin, that uses NULL window system (ie, single surface)– Example – Beagle-XM, 37x, Beaglebone, Sitara

AM335x devices

Page 3: Qt5.0.0 eglfs abort issue

Symptom

Running any qt5 application will result in below error

$$ ./analogclock –platform eglfsCould not initialize egl displayEGL Error : Could not create the egl surface: error = 0x3003Aborted

Page 4: Qt5.0.0 eglfs abort issue

Call Stack

• #3 0x425517f2 in QMessageLogger::fatal(char const*, ...) const ()

from <>/qt5_install/lib/libQt5Core.so.5

#4 0x43fa77a4 in QEglFSWindow::create() ()

from <>/qt5_install/plugins/platforms/libqeglfs.so

Page 6: Qt5.0.0 eglfs abort issue

Further steps on Qt5Ensure a working root-filesystem, and a corresponding tool-chain is

available for cross-compiling. A sample (Ubuntu based) target root filesystem is provided at

• https://gforge.ti.com/gf/download/docmanfileversion/301/6353/Browser-21-Dec.tar.gz

Extract the Qt5 archiveDownload the qt5 patches from the github tree into the qt5 source

archive, make updates to match the target paths, and configure using the steps mentioned in the README at

• https://github.com/prabindh/qt-configs/blob/master/qt5_1.0_Dec12/README

Patch for eglfs as below:• https://github.com/prabindh/qt-configs/tree/master/qt5_1.0_feb13Quick comparison of Qt5 Webkit2 and other browsers on Sitara platform• http://gpupowered.org/node/17