- Qt 5.5
- Qt Widgets
- Drag and Drop Robot Example
- dragdroprobot.pro Example File
- Qt 5.5.1 Reference Documentation

# dragdroprobot.pro Example File

graphicsview/dragdroprobot/dragdroprobot.pro

    QT += widgets

    HEADERS += \
            coloritem.h \
            robot.h

    SOURCES += \
            coloritem.cpp \
            main.cpp \
            robot.cpp

    RESOURCES += \
            robot.qrc

    # install
    target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/dragdroprobot
    INSTALLS += target