Qt Reference Documentation

# extrafilters.pro Example File

tools/plugandpaintplugins/extrafilters/extrafilters.pro

     TEMPLATE      = lib
     CONFIG       += plugin
     INCLUDEPATH  += ../..
     HEADERS       = extrafiltersplugin.h
     SOURCES       = extrafiltersplugin.cpp
     TARGET        = $$qtLibraryTarget(pnp_extrafilters)
     DESTDIR       = ../../plugandpaint/plugins

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaint/plugins
     sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS extrafilters.pro
     sources.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaintplugins/extrafilters
     INSTALLS += target sources

     symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)

     symbian:TARGET.EPOCALLOWDLLDATA = 1
     maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)