Qt 5.9 | Qt Multimedia | Audio Recorder Example | audiorecorder.pro Example File

Qt 5.9.4 Reference Documentation

# audiorecorder.pro Example File

multimedia/audiorecorder/audiorecorder.pro

      TEMPLATE = app
      TARGET = audiorecorder

      QT += multimedia

      win32:INCLUDEPATH += $$PWD

      HEADERS = \
          audiorecorder.h \
          qaudiolevel.h

      SOURCES = \
          main.cpp \
          audiorecorder.cpp \
          qaudiolevel.cpp

      FORMS += audiorecorder.ui

      target.path = $$[QT_INSTALL_EXAMPLES]/multimedia/audiorecorder
      INSTALLS += target

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