Patch taken from Nix: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-5/5.11/qtwebkit.patch diff --git a/Source/WebKit2/PlatformQt.cmake b/Source/WebKit2/PlatformQt.cmake --- a/Source/WebKit2/PlatformQt.cmake +++ b/Source/WebKit2/PlatformQt.cmake @@ -261,6 +261,7 @@ list(APPEND WebKit2_SYSTEM_INCLUDE_DIRECTORIES ${GLIB_INCLUDE_DIRS} ${GSTREAMER_INCLUDE_DIRS} + ${GSTREAMER_PBUTILS_INCLUDE_DIRS} ${Qt5Quick_INCLUDE_DIRS} ${Qt5Quick_PRIVATE_INCLUDE_DIRS} ${SQLITE_INCLUDE_DIR} />