Click here to load reader
Upload
prabindh-sundareson
View
746
Download
5
Embed Size (px)
Citation preview
Qt5.0.x eglfs abort issue
Environment
• Any EGLFS based plugin, that uses NULL window system (ie, single surface)– Example – Beagle-XM, 37x, Beaglebone, Sitara
AM335x devices
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
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
Fix
• https://github.com/prabindh/qt-configs/tree/master/qt5_1.0_Feb13
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