[Interest] Wayland QPA in Qt 5.12.8 LTS
rama.kesi at gmail.com
Wed Jun 24 17:24:04 CEST 2020
Thanks a lot for your quick response. We shall use backend instead of using
In one of the programs where we are using Qt 5.6.3 widgets based on kernel
4.14, the DRM driver replaces the fbdev driver on TI AM335x.
As mentioned in https://doc.qt.io/archives/qt-5.6/embedded-linux.html, DRM
dumb buffer is not supported in Qt 5.6 but only from Qt 5.9.
Does it mean we cannot use LinuxFB as QPA backend using Qt 5.6.3 or
/dev/fb1 could still be used to make use of DRM APIs for rendering?
If so, there are two options as QPA backends in terms of eglfs and
DirectFB. But in case of Qt Widgets using eglfs as QPA backend, it falls
back to fbdev being deprecated(/dev/fb0 legacy systems)
as there is no attribute to set to use eglfs or OpenGL using Qt
Please let me know if we need to enable any kernel config options to make
use of eglfs and DirectFB build using Yocto even if we configure Qt 5.6.3
with the QPA?
On Fri, 19 Jun, 2020, 21:55 Thiago Macieira, <thiago.macieira at intel.com>
> On Thursday, 18 June 2020 22:13:07 PDT Ramakanth Kesireddy wrote:
> > Could you please let me know if it is recommended to use Wayland for
> > Qt client application using QWidget on embedded board with EGLFS or
> > hardware accelerated rendering? As we cannot use EGLFS which fallsback to
> > fbdev with existing QWidget application, does it makes sense to use
> > to improve performance?
> In a Wayland system, you must have:
> - exactly one compositor (which doesn't use Wayland)
> - zero or more applications using Wayland
> But that only makes sense if you have two or more. If you have only one,
> there's no need to launch the compositor to composite that single
> application's output. Just have the application output directly to
> the compositor was using as a backend.
> Which is also the exception: when the backend of the compositor is not
> something directly supported by Qt.
> Thiago Macieira - thiago.macieira (AT) intel.com
> Software Architect - Intel System Software Products
> Interest mailing list
> Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest