QT4 compatibility