Qt 5.11 | Qt Widgets | Draggable Icons Example | draggableicons.pro Example File

Qt 5.11.3 Reference Documentation

# draggableicons.pro Example File

draganddrop/draggableicons/draggableicons.pro

      QT += widgets

      HEADERS     = dragwidget.h
      RESOURCES   = draggableicons.qrc
      SOURCES     = dragwidget.cpp \
                    main.cpp

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/draganddrop/draggableicons
      INSTALLS += target