Poor Qt4 performance on Linux