Qt 5.11 | Qt Widgets | Drop Site Example | dropsite.pro Example File

Qt 5.11.3 Reference Documentation

# dropsite.pro Example File

draganddrop/dropsite/dropsite.pro

      QT += widgets
      requires(qtConfig(tablewidget))

      HEADERS = droparea.h \
                dropsitewindow.h
      SOURCES = droparea.cpp \
                dropsitewindow.cpp \
                main.cpp

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