The test fails because of type mismatches between QPoint and QPointF, Qt 5 is not so strict about this.