- Qt 5.5
- Qt Widgets
- Echo Plugin Example
- plugin.pro Example File
- Qt 5.5.1 Reference Documentation

# plugin.pro Example File

tools/echoplugin/plugin/plugin.pro

    TEMPLATE        = lib
    CONFIG         += plugin
    QT             += widgets
    INCLUDEPATH    += ../echowindow
    HEADERS         = echoplugin.h
    SOURCES         = echoplugin.cpp
    TARGET          = $$qtLibraryTarget(echoplugin)
    DESTDIR         = ../plugins

    EXAMPLE_FILES = echoplugin.json

    # install
    target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/echoplugin/plugin
    INSTALLS += target