The anchors method has been moved to the private class. This requires commit b4c589868f278aa9a58ab9afa727dbf0a9442e22 in qt.git/4.7 branch. Reviewed-by: Marco Bubke