Qt Creator builds and start running my cross compiled app (raspberry), but the app never shows up
-
I have cross compiled Qt5.12.3 on my Ubuntu machine for raspberry pi 3B+ as the target device. Everything is fine and my application is cross-compiled successfully.
The issues is that after building the app, the app runs but never opens. The qt creator just shows this message: "Starting /home/pi/myApp..." but the app never shows up.
It seems the application process is running on the target device. Also I can run the app from my rasp terminal. I think there should be some problem with displaying the app in my Ubuntu remotely.
Any help will be appreciated. thanks.
-
When starting the application through Qt creator on your remote device, you should see at least some output in the application output window of creator. Do you see warnings or error messsages?
-
I was playing around with RPi3 begin of year. IIRC there have been a response in the application window pointing towards issues with the OpenGL installation on RPi.
Unfortunately I had stopped the trials because of other priorities. Therefore I do not know a cure yet.What OS build did you install on RPi?
-
@alizadeh91 said in Qt Creator builds and start running my cross compiled app (raspberry), but the app never shows up:
I think there should be some problem with displaying the app in my Ubuntu remotely.
Your app will output the ui to the rpi´s connected display. It won´t show up on your remote development device.