I downloaded mesa from the site and installed it on Solaris 5.9.
We built it for 32-bit V8 nothreads configuration.
When we try to run a Qt example which uses Opengl it throws the following error to me:
"This system has no opengl support. Exiting."

We have compiled Qt with the default option for openGl support which is :
-no-dlopen-opengl (QT Links against openGL libraries direclty).

We have tried to diagnose the problem :
we have found that the function : glXQueryExtension() is failing.

Please tell us how to rectify this problem.