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

Qt 5.9.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