composition.pro Example File | Qt Widgets 5.12.4

Qt 5.12 | Qt Widgets | Composition Modes | composition.pro Example File

Qt 5.12.4 Reference Documentation

# composition.pro Example File

painting/composition/composition.pro

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

      SHARED_FOLDER = ../shared

      include($$SHARED_FOLDER/shared.pri)

      RESOURCES += composition.qrc
      QT += widgets

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