soheilsabz
Posts: 17
Joined: Mon May 20, 2019 1:56 pm

Which one is better between `xcb` and `eglfs` on raspberry qt native built installation

Sun Jun 16, 2019 4:48 pm

I need to install and use Qt for my gui medical device (dental glazer furnace) part into my raspberry zero like this:


Image


SO I have tried cross compilation qt first which I have some problem which doesn't solve, could be seen here:

https://forum.qt.io/post/534298

and

https://forum.qt.io/post/534028

so I prefer to build native installation Qt v 5.12.3 into my pi zero and now I have some problem like these:

https://forum.qt.io/post/535271

now based on my question answers (https://forum.qt.io/topic/103934/failur ... -pi-zero/3), I need to choose between `xcb` and `eglfs` plugin, SO I searched via internet and found these:

https://forum.qt.io/topic/23738/egl-egl ... l-es-in-qt

and

https://stackoverflow.com/questions/214 ... rm-plugins

but I don't find out what is better for my qt GUI design as you can see I need something like these:

Image
and
Image

So what do you think I better between `xcb` and `eglfs` plugin for my usage to be chosen?

Thanks.

User avatar
topguy
Posts: 5566
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Which one is better between `xcb` and `eglfs` on raspberry qt native built installation

Mon Jun 17, 2019 2:52 pm

How do you plan to implement your UI ? C++ code or program in QML ?
How is the physical screen connected to your Pi ? hdmi or SPI ?

"eglfs" will only work properly on HDMI output and the official 7" screen that connects with DSI.

Return to “Graphics programming”