Ubuntu QT5 "cannot find -lGL"



  • Help!

    I have been using qt5 for a while on WIN7 and now wish to use it on my Ubuntu partition.
    I downloaded the LINUX 64 QT5 and initially got the error something like' no compiler in kit'
    I then installed gcc but now get the following compiler output;

    09:56:25: Starting: "/usr/bin/make"
    g++ -Wl,-rpath,/home/bill/Qt5.2.0/5.2.0/gcc_64 -Wl,-rpath,/home/bill/Qt5.2.0/5.2.0/gcc_64/lib -o test001 main.o mainwindow.o moc_mainwindow.o -L/home/bill/Qt5.2.0/5.2.0/gcc_64/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
    /usr/bin/ld: cannot find -lGL

    WIth the errors listed as;

    Cannot find -lGL
    collect2: ld returned 1 exit status

    Many for reading & even more if you can help!

    uB


  • Moderators

    welcome to devnet

    That is a issue being discussed already. Please the "-lgl" "tag":http://qt-project.org/search/tag/-lgl and you will find those threads. There is one particular "post":http://qt-project.org/forums/viewthread/36866/ on this.


Log in to reply
 

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