add python3 support for pyqt4