From 7702a34d41398b45b49cb5324745615393ee3477 Mon Sep 17 00:00:00 2001 From: VaL Doroshchuk Date: Sun, 2 Jun 2024 14:37:55 +0200 Subject: [PATCH] Add include path to lib drm for qmake --- src/QtAVPlayer/QtAVPlayer.pri | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/QtAVPlayer/QtAVPlayer.pri b/src/QtAVPlayer/QtAVPlayer.pri index e580e06..ad67f33 100644 --- a/src/QtAVPlayer/QtAVPlayer.pri +++ b/src/QtAVPlayer/QtAVPlayer.pri @@ -90,6 +90,8 @@ contains(DEFINES, QT_AVPLAYER_VA_X11):qtConfig(opengl) { contains(DEFINES, QT_AVPLAYER_VA_DRM):qtConfig(egl) { QMAKE_USE += egl opengl LIBS += -lva-drm -lva + exists(/usr/include/drm):INCLUDEPATH += /usr/include/drm + exists(/usr/include/libdrm):INCLUDEPATH += /usr/include/libdrm PRIVATE_HEADERS += $$PWD/qavhwdevice_vaapi_drm_egl_p.h SOURCES += $$PWD/qavhwdevice_vaapi_drm_egl.cpp }