OpenGL Error src configure Linux 64bit



  • Command used:
    @@configure -prefix $PWD/qtbase -opensource -nomake tests -opengl desktop -developer-build @
    Output:
    @The OpenGL 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/razzvg/Qt/qtbase/mkspecs/linux-g++.@

    Where are those libs located and how do I include them?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    This question has been ask many time on this forum, please do some research for e.g. "OpenGL linux lgl"

    You are missing the OpenGL development packages.



  • Edit: Fixed my problem by executing
    @sudo apt-get install libqt4-opengl-dev@
    and
    @sudo apt-get install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev@

    I can finally make now :)


  • Lifetime Qt Champion

    libqt4-opengl-dev is not needed unless you are also build your application with Qt 4


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.