Fix compilation for Qt5, BUGME