fixed Qt5 compat

see scikit-image#1316
is this better? flying-sheep/scikit-image@14a2b5d8f3f021219ef3ea09c90eeda78f539476