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

Qt 5.7.1 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

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

      QT+=widgets