Qt World Summit: Register Today!

Build Qt5.9.6 fails on debian Stretch

  • On both 32/64 bits versions of Debian 9.4 I've failed to successfully run configure using the following parameters:
    -prefix /usr/local/qt5 -nomake tests -nomake examples -debug -opensource -confirm-license

    The Error I get is "ERROR: The OpenGL functionality tests failed!"
    When looking at the flags "Desktop OpenGL" and "OpenGL ES X.X", all are saying "no".

    The 64 bits Debian was a clean install, only installing:
    sudo apt-get install build-essential libgl1-mesa-dev
    as described in:

    When running configure with the same options using Qt5.9.5 (or any other previous Qt5.9.X) it passes saying I do have Desktop OpenGL.
    This looks like a bug to me. Anyone?

  • Lifetime Qt Champion

    @peke You can call configure with -v parameter - it will give you more information what exactly is missing when it tries to determine the OpenGL functionality. You can post the related parts of the output here.

  • In threw away the shadow build dir and it's working on my 64 bit.
    Desktop Open GL says it's available.
    Maybe I ran configure before installing the libgl1-mesa-dev package on my 64 bit, though it was already installed for sure on the 32 bit as I had build Qt5.9.5 on it before. Or did something change in dependencies between 595 and 596.

Log in to reply