Nominate our 2022 Qt Champions!

Qt5.5 static build cannot find -IGL on ubuntu14

  • I have compiled qt 5.5 for static building and it works fine.

    However, when I add the widgets "QT += widgets" in the pro file I get the link error "cannot find -IGL"

    From what I read this is to do with the Open GL libs. I have tried the following:

    sudo apt-get install libglu1-mesa-dev


    sudo apt-get install libgl1-mesa-dev

    But no luck here... I am wondering if I need a static version of this? or maybe a symlink is missing, but I can't figure out the next step :(

Log in to reply