svggenerator.pro Example File | Qt SVG 5.6

Qt 5.6 | Qt SVG | SVG Generator Example | svggenerator.pro Example File

Qt 5.6.2 Reference Documentation

# svggenerator.pro Example File

svggenerator/svggenerator.pro

      FORMS     = forms/window.ui
      HEADERS   = displaywidget.h \
                  window.h
      RESOURCES = svggenerator.qrc
      SOURCES   = displaywidget.cpp \
                  main.cpp \
                  window.cpp

      QT += widgets svg

      INCLUDEPATH += $$PWD

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/svg/svggenerator
      INSTALLS += target