Note to 5.0 technical preview users:
I added all the qt and osg libs to my linux install, but compilation did not locate header "QGLWidget". I search my Linux install and couldn't find QGLWidget either.
To fix, I installed "libqt4-opengl-dev" via:
apt-get install libqt4-opengl-dev
and now all is well.
Doug