Qt 5.6 | Qt Widgets | Plug & Paint Basic Tools Example | basictools.pro Example File

Qt 5.6.2 Reference Documentation

# basictools.pro Example File

tools/plugandpaint/plugins/basictools/basictools.pro

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

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

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