QT += core gui multimedia multimediawidgets greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++17 debug # uncomment this to use asyncify #wasm: QMAKE_LFLAGS += -s ASYNCIFY -Os # You can make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 SOURCES += \ main.cpp \ mainwindow.cpp HEADERS += \ mainwindow.h FORMS += \ mainwindow.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target macos { PRODUCT_NAME = $$TARGET macx-xcode: PRODUCT_NAME = $${LITERAL_DOLLAR}{PRODUCT_NAME} INFOPLIST = \ "" \ "" \ "" \ "" \ " CFBundleIconFile" \ " " \ " CFBundlePackageType" \ " APPL" \ " CFBundleGetInfoString" \ " Created by Qt/QMake" \ " CFBundleSignature" \ " ????" \ " CFBundleExecutable" \ " $$TARGET" \ " CFBundleIdentifier" \ " com.digia.$${LITERAL_DOLLAR}{PRODUCT_NAME:rfc1034identifier}" \ " CFBundleDisplayName" \ " $$PRODUCT_NAME" \ " CFBundleName" \ " $$PRODUCT_NAME" \ " CFBundleShortVersionString" \ " 1.0" \ " CFBundleVersion" \ " 1.0" \ " NSPrincipalClass" \ " NSApplication" \ " NSCameraUsageDescription" \ " Qt Multimedia Example" \ " NSMicrophoneUsageDescription" \ " Qt Multimedia Example" \ " NOTE" \ " This file was generated by Qt/QMake." \ "" \ "" write_file($$OUT_PWD/Info.plist, INFOPLIST)|error() QMAKE_INFO_PLIST = $$OUT_PWD/Info.plist }