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

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