Qt5 application with eglfs

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

Qt5 application with eglfs

3,212 Views
EinarMar
Contributor IV

I have cross-compiled Qt5 with EGL support and now when I'm trying to run an application from the Qt examples like:

#> ./hellogl_es2 -platform eglfs

it returns straight away without any notice. The return code is 1. 

Even with other platform plugins the behavior is the same.

Is this a known issue to someone or do I need to provide something more in order to explain myself.

regards

Einar

Labels (3)
0 Kudos
9 Replies

1,322 Views
EinarMar
Contributor IV

I have figured out what was causing this problem of my Qt5 application not starting and exiting with status 1. It was one library (libicudata.so.52.1) that was not hard-float compiled which caused the linker to exit without any other warning then status 1.

After that was fixed a was able to start the application but it crashed shortly after being started and the reason was incorrect EGL binaries. I was using some version of those libraries acquired from this forum earlier this year.

Now I downloaded from here: http://repository.timesys.com/buildsources/g/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q-3.0.35-4.0.0/ and then my application was not crashing.

My Qt5 application is still not able to run because it complains about: EGL Error : Could not create the egl surface: error = 0x300b

The application is executed like: hellogl_es2 -platform eglfs

If anyone has some idea about that I would appreciate the input.

regards

Einar

0 Kudos

1,322 Views
YixingKong
Senior Contributor IV

Einar

This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.

Thanks,

Yixing

0 Kudos

1,322 Views
EinarMar
Contributor IV

Issue closed, thanks

0 Kudos

1,322 Views
YixingKong
Senior Contributor IV

Einar

Had your orignal  issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help please feel free to contact Freescale.

Thanks,
Yixing

0 Kudos

1,322 Views
LeonardoSandova
Specialist I

Hi Einar, it would be good if you create a new discussion thread with this last issue.

0 Kudos

1,322 Views
EinarMar
Contributor IV

Hi Leonardo, see here: EGL Error creating egl surface, error = 0x300b

regards

Einar

0 Kudos

1,322 Views
LeonardoSandova
Specialist I

Einar,

when there is no useful (or no log at all) log, I run the app with 'strace' (strace ./hellogl_......). Give it a try and you may find the reason.

0 Kudos

1,322 Views
EinarMar
Contributor IV

Hi Leonardo

I usually run with strace and I've tried it here but it didn't give me any further insight.

I will attach a file with strace output so you can look. Maybe you will be able to spot something.

regards

Einar

0 Kudos

1,322 Views
EinarMar
Contributor IV

Is there anyone willing to look into the strace file. I'm not sure what is happening just by reading it so I would need some help on this.

My program is not running 'main' and exits with status 1 without any printouts.

Hope somebody can look into the strace output hellogl_es2_strace.

regards

Einar

0 Kudos