Fix PyQt4/5 support

Hi,

@bchretien Here is a small patch in order to avoid PyQ t4 & 5 versions conflicts.

Regards,