- Qt 5.5
- Qt Widgets
- Fridge Magnets Example
- fridgemagnets.pro Example File
- Qt 5.5.1 Reference Documentation

# fridgemagnets.pro Example File

draganddrop/fridgemagnets/fridgemagnets.pro

    QT += widgets

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

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