[Webkit-unassigned] [Bug 101961] New: [Qt] QtWebKit, when built with Qt, doesn't provide a way to avoid linking to gstreamer.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 12 11:52:48 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=101961

           Summary: [Qt] QtWebKit, when built with Qt, doesn't provide a
                    way to avoid linking to gstreamer.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: camior at gmail.com


When Qt is configured to not build QtMultimedia, QtWebKit will still try to use gstreamer if it is available on the system. This is fine, except that there is no way to disable this.

We ran into this when making a custom Qt build where we wanted to control all libraries used in compilation. The gstreamer link that was created linked into the system-wide zlib which conflicted with the one we wanted to use with our Qt build.

A workaround was to comment out the following in Source/JavaScriptCore/wtf/wtf.pri:

{code}
   !contains(QT_CONFIG, no-pkg-config):system(pkg-config --exists glib-2.0 gio-2.0 gstreamer-0.10): {
       DEFINES += ENABLE_GLIB_SUPPORT=1
       PKGCONFIG += glib-2.0 gio-2.0
       CONFIG += link_pkgconfig
   }
{code}
and the following in Source/WebCore/features.pri:

{code}
        !contains(QT_CONFIG, no-pkg-config):system(pkg-config --exists glib-2.0 gio-2.0 gstreamer-0.10): {
            DEFINES -= ENABLE_VIDEO=0
            DEFINES += ENABLE_VIDEO=1
            DEFINES += WTF_USE_GSTREAMER=1
            DEFINES -= WTF_USE_GSTREAMER=0
        } else {
            message("Disabling video due the lack of GLib/Gio/GStreamer.")
            DEFINES -= ENABLE_VIDEO=1
            DEFINES += ENABLE_VIDEO=0
        }
{code}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list