Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# basictools.pro Example File

tools/plugandpaintplugins/basictools/basictools.pro

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

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

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