Cleaned up Qt version stuff.