Attempt to handle PyQt correctly.