Bug 462394 - QGraphicsView::mapToScene() raises a clazy-qt6-deprecated-api-fixes
Summary: QGraphicsView::mapToScene() raises a clazy-qt6-deprecated-api-fixes
Status: REPORTED
Alias: None
Product: clazy
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-29 14:15 UTC by Pamputt
Modified: 2022-11-29 14:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.