I have "succesfully" run the bakeqtpi script to get all necessary files for cross compiling Qt things to Pi. I have also configured Qt Creator accordingly. Compiling and deploying are successfull (helloworld example on from beginners guide) but when I try to run the project nothing happens. I also tried to run the file directly from pi (from LXTerminal) but same result. No warnings, nothing. The program just starts and I can see from activity monitor that something happens for few seconds and then activity goes back to zero and nothing happens.
Then I have followed other guides with the same results. Now I'm in a stand that when I try to run this helloworld program from PC I'll get:
Code: Select all
Cant find EGLConfig, returning null config
Unable to find an X11 visual which matches EGL config 0
Could not initialize EGL
bash: line 1: 3112 Aborted DISPLAY=:0.0 /home/pi/helloworld/helloworld
Any ideas? Other project which I tried and again deployed says when running:
Code: Select all
Cant find EGLConfig, returning null config
Unable to find an X11 visual which matches EGL config 0
and after a while the program crashes if my mouse is in window:
Code: Select all
The X11 connection broke (error 2). Did the X11 server die?
Running the same code from Qt Creator I get:
Code: Select all
Cant find EGLConfig, returning null config
Unable to find an X11 visual which matches EGL config 0
I'm hopeless. I have been trying to get this to work for a month already. And tried at least 4 different guides with the same results. I hope somebody can help me.
Hilpara