fixed make dist-gz (which needs a qmake before now)