Qt 5.13 | Qt Quick Demo - Photo Surface

Qt 5.13.2 Reference Documentation

# Qt Quick Demo - Photo Surface

      TEMPLATE = app

      QT += qml quick
      qtHaveModule(widgets): QT += widgets
      SOURCES += main.cpp
      RESOURCES += photosurface.qrc

      target.path = $$[QT_INSTALL_EXAMPLES]/demos/photosurface
      INSTALLS += target
      ICON = resources/icon.png
      macos: ICON = resources/photosurface.icns
      win32: RC_FILE = resources/photosurface.rc