fix for QT5
WIP