Thank You very much for detailed response and providing explanation as well as showing possible solutions. The post of Yours was of great help, the problem is now solved.
Should one be interested in what actually happened: during installation of drivers for my hardware I did use the ones downloaded directly from manufacturer’s website. This approach, however successful, is not fully supported by Debian, for which it is advised to use Debian’s repository. I assume this is why the libqt4-opengl-dev
package wasn’t handled properly. Uninstalling manufacturer’s drivers and installing them from official repository did the trick and solved the problem.
I am sorry that I did bother with this kind of specific to single user problem. I was however pretty puzzled and pointing me in a direction of OpenGL/hardware/drivers surely saved me a lot of nerves and time. Thank You once more!