Skip to content

Commit

Permalink
Merge pull request #480 from valbok/drm
Browse files Browse the repository at this point in the history
Add include path to lib drm for qmake
  • Loading branch information
valbok authored Jun 2, 2024
2 parents 81e606a + 7702a34 commit b9186ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/QtAVPlayer/QtAVPlayer.pri
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b9186ee

Please sign in to comment.