Qt 5.9 | Qt SVG | Text Object Example | textobject.pro Example File

Qt 5.9.2 Reference Documentation

# textobject.pro Example File

richtext/textobject/textobject.pro

      HEADERS         = svgtextobject.h \
                        window.h
      SOURCES         = main.cpp \
                        svgtextobject.cpp \
                        window.cpp

      QT += widgets svg

      RESOURCES       = resources.qrc

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

      wince*{
          filesToDeploy.files = files/*.svg
          filesToDeploy.path = files
          DEPLOYMENT += filesToDeploy
      }