Qt 5.6 | Qt Widgets | Path Stroking | pathstroke.pro Example File

Qt 5.6.3 Reference Documentation

# pathstroke.pro Example File

painting/pathstroke/pathstroke.pro

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

      SHARED_FOLDER = ../shared

      include($$SHARED_FOLDER/shared.pri)

      RESOURCES += pathstroke.qrc

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

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