Bump minimum qt version to 4.7

Alternate version of #1006 which sets the minimum qt version to 4.7.