extrafilters.pro Example File

tools/plugandpaint/plugins/extrafilters/extrafilters.pro
 TEMPLATE      = lib
 CONFIG       += plugin
 QT           += widgets
 INCLUDEPATH  += ../../app
 HEADERS       = extrafiltersplugin.h
 SOURCES       = extrafiltersplugin.cpp
 TARGET        = $$qtLibraryTarget(pnp_extrafilters)
 DESTDIR       = ../../plugins

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/plugandpaint/plugins
 INSTALLS += target

 CONFIG += install_ok  # Do not cargo-cult this!
 uikit: CONFIG += debug_and_release