Qt 5.11 | Qt Widgets | Vector Deformation | deform.pro Example File

Qt 5.11.3 Reference Documentation

# deform.pro Example File

painting/deform/deform.pro

      SOURCES += main.cpp pathdeform.cpp
      HEADERS += pathdeform.h

      SHARED_FOLDER = ../shared

      include($$SHARED_FOLDER/shared.pri)

      RESOURCES += deform.qrc

      qtHaveModule(opengl) {
              DEFINES += QT_OPENGL_SUPPORT
              QT += opengl
      }
      QT += widgets

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/painting/deform
      INSTALLS += target