I tried this again now, and after installing libgl1-mesa-dev-lts-utopic I was able to re-install qt5-default and qtbase5-dev, and then ubuntu-sdk.
I tried this again now, and after installing libgl1- mesa-dev- lts-utopic I was able to re-install qt5-default and qtbase5-dev, and then ubuntu-sdk.