More Qt fixes