In that case, shouldn't there be a libgl1-mesa-glx-dev package? I think that's what Qt4's problem is. -- xorg_1:7.0.22ubuntu7 depends on specific libgl1-mesa https://launchpad.net/bugs/54560