updated to Qt4