keyurthumar
Posts: 10
Joined: Fri Oct 04, 2019 8:49 am

Re: Anyone cross compiled QT for the Pi 4 yet.

Tue Nov 05, 2019 1:13 pm

topguy wrote:
Mon Jul 08, 2019 12:08 am
Do you really need newer Qt5 thant 5.11 that is in Buster ? shouldnt QML run quite well with opengl as backend and not necessarily need eglfs ?

(I havent got a Pi4 yet so havent had time to experiment myself )
Yes Qt5 is already there in buster, but I want to do cross compilation on my ubuntu and then deploy my app on PI. How would i achieve that ??

Thanks in advance

keyurthumar
Posts: 10
Joined: Fri Oct 04, 2019 8:49 am

Re: Anyone cross compiled QT for the Pi 4 yet.

Tue Nov 05, 2019 4:24 pm

keyurthumar wrote:
Tue Nov 05, 2019 1:13 pm
topguy wrote:
Mon Jul 08, 2019 12:08 am
Do you really need newer Qt5 thant 5.11 that is in Buster ? shouldnt QML run quite well with opengl as backend and not necessarily need eglfs ?

(I havent got a Pi4 yet so havent had time to experiment myself )
Yes Qt5 is already there in buster, but I want to do cross compilation on my ubuntu and then deploy my app on PI. How would i achieve that ??

Thanks in advance
Thank you @topguy

How can i compile qt5 project on Ubuntu for raspberry Pi 4. Specifically rpi 4

maxwell130631
Posts: 6
Joined: Wed Nov 13, 2019 8:39 pm

Re: Anyone cross compiled QT for the Pi 4 yet.

Wed Nov 13, 2019 8:48 pm

Hi,

I followed the instructions and cross compilation of QT and compilation of my app worked. (I used Qt 5.13 and the linux-rasp-pi3-vc4-g++ option). I want to run my app in the Pixel (I guess thats the name?) destkop (which is the xcb platform plugin, right?), so I did not follow the eglfs. json part of the instructions, as I guess they are only relevant if one tries to run it from the command line, right?

My application starts, and is running (as I can see form log messages) but the rendering to the screen does not work. The window border is drawn but no content is rendered into the window (in fact the wall paper shines through). As detailed in this post in the QT forum https://forum.qt.io/topic/108730/runnin ... o-screen/3, I get the following error message:

QEGLPlatformContext: eglMakeCurrent failed: 3009

Did someone succeed in running an application under the pixel desktop?

User avatar
topguy
Posts: 5958
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Anyone cross compiled QT for the Pi 4 yet.

Thu Nov 14, 2019 11:23 am

The name "Pixel" is not used anymore, but that is beside the point.

What HW are your running your program on ? The Pi3 or the Pi4 ( or a PC ) ??

maxwell130631
Posts: 6
Joined: Wed Nov 13, 2019 8:39 pm

Re: Anyone cross compiled QT for the Pi 4 yet.

Thu Nov 14, 2019 2:36 pm

I tried both Pi3 and Pi4, and see the same result

Return to “Advanced users”