Make it work with both pyqt4 and pyqt5