Compiling error: cannot find -lGLU and -lGL in kubuntu linux
In addition to the the answer about installing the right libraries (sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev) you may need to add:unix:LIBS += -L/usr/lib/x86_64-linux-gnu/mesa/to your .pro file, I know I needed to. Of course that path may be different if your using 32bit software or other system dependant reasons.