basictools.pro Example File

tools/plugandpaintplugins/basictools/basictools.pro

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

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