Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Building Qt WebKit with media support
Forum Updated to NodeBB v4.3 + New Features

Building Qt WebKit with media support

Scheduled Pinned Locked Moved Qt WebKit
webkitmultimedia
3 Posts 3 Posters 2.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vissi
    wrote on last edited by
    #1

    Hi,

    My goal is to enable navigator.getUserMedia in Qt WebKit.
    I tried building Qt-WebKit (5.5 branch) with following options:

    ./Tools/Scripts/build-webkit --qt --media-stream --media-source --media-capture --video

    Platforms tried: macx-clang, win32-g++
    However, I get the following error:

    Could NOT find IDL file for interface "MediaStream"
    ...
    make[2]: *** [sub-DerivedSources-pri-make_for_qmake] Error 2
    make[1]: *** [sub-Source-WebCore-WebCore-pro-qmake_all] Error 2
    make: *** [incremental] Error 2

    Nevetheless,
    $ find . -name MediaStream.idl
    ./Source/WebCore/Modules/mediastream/MediaStream.idl

    Such file exists, probably the build system looks in another location.

    Please help me solve this problem. Can I get more verbose build output?

    N 1 Reply Last reply
    0
    • V vissi

      Hi,

      My goal is to enable navigator.getUserMedia in Qt WebKit.
      I tried building Qt-WebKit (5.5 branch) with following options:

      ./Tools/Scripts/build-webkit --qt --media-stream --media-source --media-capture --video

      Platforms tried: macx-clang, win32-g++
      However, I get the following error:

      Could NOT find IDL file for interface "MediaStream"
      ...
      make[2]: *** [sub-DerivedSources-pri-make_for_qmake] Error 2
      make[1]: *** [sub-Source-WebCore-WebCore-pro-qmake_all] Error 2
      make: *** [incremental] Error 2

      Nevetheless,
      $ find . -name MediaStream.idl
      ./Source/WebCore/Modules/mediastream/MediaStream.idl

      Such file exists, probably the build system looks in another location.

      Please help me solve this problem. Can I get more verbose build output?

      N Offline
      N Offline
      njozwiak
      wrote on last edited by
      #2

      @vissi Did you find any resolution to this?

      1 Reply Last reply
      0
      • O Offline
        O Offline
        olegvorobej
        wrote on last edited by olegvorobej
        #3

        guess it's not actual anymore, but having same issue with 5.6.0

        to resolve it you can add following into your qtwebkit/Source/WebCore/DerivedSources.pri

        enable?(MEDIA_STREAM) {
        IDL_BINDINGS +=
        $$PWD/Modules/mediastream/MediaStream.idl
        ### you might need some others idl from this folder too
        }

        and search for generateBindings.commands in same file and add "--include Modules/mediastream"

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved