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

Qt 5.9.9 Reference Documentation

# dropsite.pro Example File

draganddrop/dropsite/dropsite.pro

      QT += widgets

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

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