What is the current status of Qt on the imx6 (sabre sd)?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is the current status of Qt on the imx6 (sabre sd)?

2,888 Views
phil_martin
Contributor II

What is the current status of Qt on the imx6?

I want to run Qt on a Sabre SD-based platform - is Qt4.8 or Qt 5.0, 5.1 the best way to go?

I am using the Linaro Linux build.

Thanks!

Phil

0 Kudos
9 Replies

1,096 Views
RobertSchwebel
Contributor IV

Philip,

we have Qt 5.1 running on linux-3.12-rc3. The Qt 5.2-alpha release from yesterday still has issues, but 5.1 works nicely. On mainline, we are using the KMS/DRI drivers which are still in staging, with a hack layer which makes it possible to simulate the vsync-by-panning method used by the proprietary EGL drivers.

Note that with the current proprietary drivers, features like QtWebKit with out-of-process rendering are not possible. However, standard Qt + QML2 works, at least in fullscreen single application setups.

rsc

0 Kudos

1,096 Views
phil_martin
Contributor II

Thank for your input, Robert!

- I'm not a Linux guru, and I really need something that will work without any hack-layers (unless they are part of the build!)

It doesn't sound like you're using Yocto

- is there a reason for this?

Thanks

Phil

0 Kudos

1,096 Views
leonoss
Contributor I

Does someone have a good recipe to follow to build Qt5 using Yocto? I am starting a project using the i.mx6 SabreLite board (populated with WInd River Linux) which is supposedly Yocto ready.

Using the oecore-x86_64 toolchain, I have been able to build/cross compile the Qt sources and deploy them on the i.mx6 board but even simple example programs fail with the "EGL suggested using X Visual ID 33 (RGB888) for EGL config 25 (RGB444), but this is incompatable" error. Despite trying many of the suggested solutions on the web, I can't get around it.

Given the push towards Yocto,  I thought I would try that path instead but can't find a good "how-to guide" for using Yocto to build Qt.

Thanks.

0 Kudos

1,096 Views
LeonardoSandova
Specialist I

Hi, I think there is no document regarding this important area. QT5 is pretty new in Freescale Yocto. I believe the best way is to ask for these steps into the meta-freescale list. In general, you need to add meta-qt5 recipe and change the default DISTRO (AFIAK, QT5 does not work correctly with X11, which is the default graphics System) into your local.conf file. Ask for the details on the list.

Leo

0 Kudos

1,096 Views
bfederau
Contributor II

Hi Robert,

does your Qt 5.1 work on X11 with xcb? With my Qt5.1 build on Ubuntu 12.04 I get this EGL config message when I start a Qt application


Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 28 (RGB444), but this is incompatable

Unable to find an X11 visual which matches EGL config 28
Could not initialize EGL


Any hints are welcome.

0 Kudos

1,096 Views
LeonardoSandova
Specialist I

Philip,

There is a new layer 'meta-qt5' which can be integrated with meta-fsl-arm on Yocto. Not sure the latest status but check or ask for the latest on meta-freescale distribution list.

Leo

1,094 Views
phil_martin
Contributor II

I am running on LTIB currently

- and looking at adding Qt to that

However, would you recommend moving to Yocto currently?

- i.e. is it stable enough yet?

- is it fully supported with the latest packages?

I also need gstreamer support, multi-screen support and (parallel-bus) camera support

- so need to know if Yocto is better for this also!

If I go with Yocto, does it still support the Ubuntu GUI, or similar?

(sorry, I'm not a Linux guru!)

Thanks

Phil

0 Kudos

1,094 Views
SergioSolis
NXP Employee
NXP Employee

Hello Philip,

Qt 5.0 would be the best option right now for the i.MX6

1,094 Views
phil_martin
Contributor II

Are you running under Yocto or LTIB?

- I'm trying to decide if I should jump ship from LTIB to Yocto!

0 Kudos