Bug 462394

Summary: QGraphicsView::mapToScene() raises a clazy-qt6-deprecated-api-fixes
Product: [Developer tools] clazy Reporter: Pamputt <pamputt0>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: REPORTED ---    
Severity: normal CC: smartins
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pamputt 2022-11-29 14:15:42 UTC
In QtCreator, clazy 1.11 warns me with this line

QPointF point1 = view->mapToScene(QPoint());

where view is a QGraphicsView

It is not absolutely not clear to me what has changed between Qt5 and Qt6 that could explain why this warning is triggered

The clazy-qt6-deprecated-api-fixes warning appears to be triggered by mapToScene().

So, it seems to be a false positive. Sorry if it is not.