It seems the example didn't make it into the stable Qt 4.7.