Important: Please read the Qt Code of Conduct -

Porting of QGraphicsItem to QQuickPaintedItem

  • I have a issue while porting my Qt4.8 application to qt5.7
    I was using QGraphicsItem::ItemIsSelectable as setFlag(QGraphicsItem::ItemIsSelectable,bool) in qt4.8 which was inherited from QDeclarativeItem

    Now i want to do same thing in Qt5.7.

    In qt5.7 i am using QQuickPaintedItem as parent and i am not able to find replacement for making my item selectable.
    Or how can i achieve same functionality with QQuickPaintedItem.
    Please guide me if possible.

Log in to reply