In order to find the center of the view in scene coordinates, I had to do it in the following order:
mapToScene(viewport()->rect()).boundingRect().center()
mapToScene(viewport()->rect().center() produces incorrect results and for me were a little to the upper left.
Can anyone help me understand why they are different?
Bookmarks