Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt with openGL|ES on ARM under Linux



  • Hi, everyone!

    I am trying to use OpenGL|ES in an Qt application on my ARM board. Among the common OpenGL|ES methods, I choose PicoGL library.

    Now, I have successfully compiled the PicoGL library, and run the examples of PicoGL on ARM. After that, I try to build a new qmake of Qt which can support the OpenGL|ES, but I fail.

    Here are the codes in qmake.conf related to OpenGL configuration:

     QMAKE_INCDIR_GL =    /home/tl/PicoGL/include
     QMAKE_LIBDIR_GL =    /home/tl/nonePicoGL/lib
     QMAKE_LIBS_GL =       -libPicoGL -libPicoGLU
    

    And I also add "-opengl" or ''-opengl es1" or "-opengl es2" when configuring my qmake. But I still get an error:

    The OpenGL ES 1.x functionality test failed!
    You might need to modify the include and library search paths by editing
    QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in
    /home/tl/qt/qt-everywhere-opensource-src-4.7.0/mkspecs/qws/linux-omapl138-g++.

    I am so confused about it, and could not find a solution on the Internet. So does anyone have an idea? Please share with me. Thank you.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    You should re-run the configuration process with -v so you'll be able to see why exactly the test fails.

    Hope it helps


Log in to reply