So the problem was that I was using qt4.6 rc1 . Upgrading to 4.6 final fixed this...