[QtonPi] 3d on the PI is not supported from Linux on Qt 5
Daniel Bittencourt
danielcbit at gmail.com
Sat Feb 23 17:45:08 CET 2013
Hi Pierre, maybe you have to include the /opt/vc/lib of your Raspbian`s
sysroot. To build some project, the sysroot needs to be in proper place.
Try adding INCLUDEPATH += /your_sysroot_path/opt/vc/include/ to you .pro
file!
On Sat, Feb 23, 2013 at 4:30 PM, Pierre Chicoine <
pierrechicoine606 at gmail.com> wrote:
> Does anyone know how to get Opengl working with qt5 on the Raspberry PI
> using the qt-everywhere-opensource-src-5.0.0 (Supported by the Linaro
> build). When opengl is set in the pro file using Linux, there is no gl2.h
> header.
>
> There are three gl2.h headers one for the IOS and 2 in the Angle
> directories for Windows. It doesn't look like this version of Qt supports
> 3d from Linux.
>
>
> This is the error I get when adding QT += opengl in the pro file.
>
> qt-everywhere-opensource-src-5.0.0/qtbase/src/gui/opengl/qopengl.h:55:
> error: GLES2/gl2.h: No such file or directory
>
> Thanks in advance.
>
> Pierre
>
>
> _______________________________________________
> QtonPi mailing list
> QtonPi at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qtonpi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qtonpi/attachments/20130223/60fc0f77/attachment.html
More information about the QtonPi
mailing list