- Qt 5.5
- Qt Widgets
- Draggable Text Example
- draggabletext.pro Example File
- Qt 5.5.1 Reference Documentation

# draggabletext.pro Example File

draganddrop/draggabletext/draggabletext.pro

    QT += widgets

    HEADERS     = draglabel.h \
                  dragwidget.h
    RESOURCES   = draggabletext.qrc
    SOURCES     = draglabel.cpp \
                  dragwidget.cpp \
                  main.cpp

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