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