I forgot to mention, I am using Qt 4.5.1 on ubuntu.