This fix already exists in the development branch of pyside. See https://github.com/pyside/pyside-setup/pull/55.