[Interest] compiling qt with eglfs

Thomas Senyk thomas.senyk at pelagicore.com
Wed Nov 7 12:59:13 CET 2012

On Wed, November 07, 2012 05:29:00 PM pritam.ghanghas at gmail.com wrote:
> Hi
> I was trying to get qt working with eglfs + opengles.
> I am able to compile but when I try to run hellogl_es2. I get this.
> ./hellogl_es2 -qws

No no no! :) No! :)
I can't stretch that enough: eglfs doesn't support this application!

Those plugins (eglfs, simplegl, minimalegl, kms,...) only support one(!) 
fullscreen opengl-surface..
Therefor one can't mix QWidget-classes with QGLWidget (as it's the case for 

Take qmlviewer or similar and use QGLWidget as viewport for the 
(-opengl as argument for qmlviewer)

> QScreenLinuxFb::connect: No such file or directory
> Error opening framebuffer device /dev/fb0
> : driver cannot connect
> Aborted
> I don't understand why it needs  /dev/fb0.


They are different, independent Qt ports.
They can't co-exist! You have to take one or the other!

eglfs is a platform plugin for QPA
Their is simplegl for QWS, but I got no clue about it's current state.

Me advice is to try QPA and eglfs as I know it's working.

> Any Ideas what is wrong. This is with Qt 4.8.3.
> configure argument and output can be found here.
> http://pastebin.kde.org/598940/
> I am comiling qt5 in parallel but results from that will take some time.
> Any ideas what is going wrong here.

You will not have that problem with qt5, as qws is gone ;)

More information about the Interest mailing list