QT += core gui QT += multimedia QT += multimediawidgets greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 # 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 TARGET = build/jvideo OBJECTS_DIR = build MOC_DIR = build RCC_DIR = build DEFINES += "QT_AVPLAYER_MULTIMEDIA" \ #"QT_AVPLAYER_VA_X11" \ #uncomment to enable libva-x11 #"QT_AVPLAYER_VA_DRM" \ #uncomment to enable libva-drm "QT_AVPLAYER_VDPAU" INCLUDEPATH += QtAVPlayer/src include(QtAVPlayer/src/QtAVPlayer/QtAVPlayer.pri) SOURCES += \ src/actions.cpp \ src/folder_dialog.cpp \ src/img_loader.cpp \ src/main.cpp \ src/common.cpp \ src/main_widget.cpp \ src/play_control.cpp \ src/player.cpp \ src/playlist_backend.cpp \ src/playlist_widget.cpp \ src/pref_dialog.cpp \ src/recents.cpp \ src/vid_grid.cpp \ src/vid_widget.cpp HEADERS += \ src/actions.h \ src/common.h \ src/folder_dialog.h \ src/img_loader.h \ src/main_widget.h \ src/play_control.h \ src/player.h \ src/playlist_backend.h \ src/playlist_widget.h \ src/pref_dialog.h \ src/recents.h \ src/vid_grid.h \ src/vid_widget.h