Qt 5.9 | Qt Multimedia | Camera Example | camera.pro Example File

Qt 5.9.4 Reference Documentation

# camera.pro Example File

multimediawidgets/camera/camera.pro

      TEMPLATE = app
      TARGET = camera

      QT += multimedia multimediawidgets

      HEADERS = \
          camera.h \
          imagesettings.h \
          videosettings.h

      SOURCES = \
          main.cpp \
          camera.cpp \
          imagesettings.cpp \
          videosettings.cpp

      FORMS += \
          camera.ui \
          videosettings.ui \
          imagesettings.ui

      RESOURCES += camera.qrc

      target.path = $$[QT_INSTALL_EXAMPLES]/multimediawidgets/camera
      INSTALLS += target

      QT+=widgets
      include(../../shared/shared.pri)