I just installed Qt in CentOS 6 and when I try to compile a test project which has just QWidget to be displayed, it's throwing this error
OS: CentOS 6
Qt Version: Qt 5.2.1 (GCC 4.6.1, 32 bit)
error: cannot find -lGL
error: cannot find -lGL
To copy to clipboard, switch view to plain text mode
Kindly help me fix this issue.
Thank you.
Added after 22 minutes:
----- Solution ------
I found the solution. Installing the following packages worked!
yum install mesa-libGL-devel mesa-libGLU-devel
yum install mesa-libGL-devel mesa-libGLU-devel
To copy to clipboard, switch view to plain text mode
Thank you.
Bookmarks