Adapt to PyQt 5.3.2