affine.pro Example File | Qt Widgets 5.6

Qt 5.6 | Qt Widgets | Affine Transformations | affine.pro Example File

Qt 5.6.2 Reference Documentation

# affine.pro Example File

painting/affine/affine.pro

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

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

      SHARED_FOLDER = ../shared

      include($$SHARED_FOLDER/shared.pri)

      RESOURCES += affine.qrc

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

      wince {
          DEPLOYMENT_PLUGIN += qjpeg
      }