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
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
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
Issue closed, thanks
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
Hi Einar, it would be good if you create a new discussion thread with this last issue.
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.
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