Qt 5.11 | Qt Widgets | Drag and Drop Robot Example | dragdroprobot.pro Example File

Qt 5.11.3 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