Qt 4.7: plugin.pro Example File (tools/echoplugin/plugin/plugin.pro)

Qt Reference Documentation

# plugin.pro Example File

tools/echoplugin/plugin/plugin.pro

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

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/tools/echoplugin/plugin
     sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS plugin.pro
     sources.path = $$[QT_INSTALL_EXAMPLES]/tools/echoplugin/plugin
     INSTALLS += target sources

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

     symbian:TARGET.EPOCALLOWDLLDATA = 1