This Post Represents a Troubleshooting of Qt Creator Building Issue/Error:
"cannot Find -lGL"
The Content and Details are Expressly Reduced to Give Focus Only to the Essentials Instructions and Commands and Make Tut more Easy & Digestive;)
- Open Terminal Window
- Make a Symbolic Link
- For 32 bit Systems
ln -s /usr/lib/libGL.so.1 /usr/lib/libGL.so
- For 64 bit Systems
ln -s /usr/lib64/libGL.so.1 /usr/lib64/libGL.so
- For 32 bit Systems