2. Environment
• Any EGLFS based plugin, that uses NULL
window system (ie, single surface)
– Example – Beagle-XM, 37x, Beaglebone, Sitara
AM335x devices
3. Symptom
Running any qt5 application will result in below
error
$$ ./analogclock –platform eglfs
Could not initialize egl display
EGL Error : Could not create the egl surface: error = 0x3003
Aborted
4. 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
6. Further steps on Qt5
Ensure 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 archive
Download 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_feb13
Quick comparison of Qt5 Webkit2 and other browsers on Sitara platform
• http://gpupowered.org/node/17