Keep Qt4 compatibility