[Interest] Qt3D cross compile on Pi3, examples/applications not working

Carlo Ferraresi ferraresi at estetechnology.com
Fri Oct 6 11:28:09 CEST 2017


Hi to all,

I successfully  cross-compiled the Qt 5.9.2 with support for EGLFS, following the “official” guide: https://wiki.qt.io/RaspberryPi2EGLFS .

Now I am able to run the qopenglwidget example at 60FPS directly from terminal, without a x11 environment.

 
I also cross-compiled Qt3D module without problems, getting the sources from “git://code.qt.io/qt/qt3d.git  -b  origin/5.9.2”.  I need a Qt3D version greater that 5.7 because I need the support for QPaintedTexture.

The problem is that I am not able to run Qt3D example or application.

 I tried with several examples such as simple-cpp, lights and materials,  the screen shows strange artifacts and the application seems freezed.

 
When I try planets-qml I get this output:

“QOpenGLTexture* Qt3DRender::Render::GLTexture::buildGLTexture() could not find a matching OpenGL ES 2.0 unsized texture format

QOpenGLTexture::setMipBaseLevel: requires OpenGL >= 1.2 or OpenGL ES >= 3.0

QOpenGLTexture::setMipMaxLevel: requires OpenGL >= 1.2 or OpenGL ES >= 3.0

FBO incomplete

FBO incomplete

…”
 
I also tried a custom application that works fine on PC getting this output:

“EGLFS: OpenGL windows cannot be mixed with others.

Aborted”

 
I found this bugreport “Qt3d examples not working on Raspberry Pi 3 “ : https://bugreports.qt.io/browse/QTBUG-59349 . 

The bug has been fixed on v5.9.2, but It doesn’t seems true or I probably miss something on Qt3D cross-compilation.

 
Has anybody succefully compiled a working Qt3D module (version >= 5.8) for RPi3 ?

 
Thanks,

Carlo 

 
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171006/cc9e6df6/attachment.html>


More information about the Interest mailing list