
Originally Posted by
wacol
Thanks, what .deb package this is in? I am a linux newbie using Ubuntu

If you are using Ubuntu, then this is offtopic as this sub-forum is about Maemo. The same command on Maemo:
Code:
dpkg -L libqt4-maemo5-dev | grep -E "(qmatrix4x4|qvector3d|qglshaderprogram)"
/opt/qt4-maemo5/include/Qt/qmatrix4x4.h
/opt/qt4-maemo5/include/Qt/qvector3d.h
/opt/qt4-maemo5/include/Qt/qglshaderprogram.h
/opt/qt4-maemo5/include/QtGui/qmatrix4x4.h
/opt/qt4-maemo5/include/QtGui/qvector3d.h
/opt/qt4-maemo5/include/QtOpenGL/qglshaderprogram.h

Originally Posted by
wacol
I am just trying to lean something, so correct me if I'm wrong. The 'glEnableClientState' is OpenGL ES 1.x api, I thought this is incompatible with ESv2. How does Qt 4.5 or 4.6 affect the compiler error?
It's in Open GL since version 1.1. Different versions are using different includes.