How to migrate from QGraphicsView to MapGraphicsView?

  arcgis, arcgis-runtime, c++, qgraphicsview, qt

I have an application (not QML) using Qt’s QGraphicsView framework. I want to change my application so that I have a basemap as background and some items on that map. I have a QGraphicsScene in which my items (QGraphicsItem) are added. How can I change my items so that QGraphicsItem’s are added to Esri::ArcGISRuntime::Map instead of QGraphicsScene? I could not find any example on Internet.

Source: Windows Questions C++