Qt 5.0.2, enabling html5 video audio support



  • Hi,

    I just want to share my experience after successfully patching and building qt 5.0.2 with HTML5 video/audio support.

    qt build system will automatically enable audio support if you have gstreamer-0.10 and gstinterface and a few more packages. However, one can not build the library b/c some html5 elements were missing from qt-5.0.2 (as of yesterday). This is a bug. I had to apply the patch below to enable video support. I hope the patch will help other people to get libqt5webkit.so to build successfully.

    good luck

    @
    --- qtwebkit/Source/WebCore/Target.pri 2013-04-08 20:11:51.000000000 -0400
    +++ ../qt-everywhere-opensource-src-5.0.2/qtwebkit/Source/WebCore/Target.pri 2013-06-05 13:55:39.470619752 -0400
    -810,6 +810,7
    loader/cache/CachedSVGDocument.cpp
    loader/cache/CachedSVGDocument.h
    loader/cache/CachedXSLStyleSheet.cpp \

    • loader/cache/CachedTextTrack.cpp
      loader/CookieJar.cpp
      loader/CrossOriginAccessControl.cpp
      loader/CrossOriginPreflightResultCache.cpp
      -856,6 +857,7
      loader/SubstituteData.cpp
      loader/TextResourceDecoder.cpp
      loader/ThreadableLoader.cpp \
    • loader/TextTrackLoader.cpp
      page/animation/AnimationBase.cpp
      page/animation/AnimationController.cpp
      page/animation/CompositeAnimation.cpp
      -1279,7 +1281,19
      xml/parser/XMLCharacterReferenceParser.cpp
      xml/parser/XMLDocumentParser.cpp
      xml/parser/XMLTokenizer.cpp \
    • xml/parser/XMLTreeBuilder.cpp
    • xml/parser/XMLTreeBuilder.cpp \
    • html/track/InbandTextTrack.cpp \
    • html/track/LoadableTextTrack.cpp \
    • html/track/TextTrack.cpp \
    • html/track/TextTrackCue.cpp \
    • html/track/TextTrackCueList.cpp \
    • html/track/TextTrackList.cpp \
    • html/track/TrackBase.cpp \
    • html/track/TrackEvent.cpp \
    • html/track/WebVTTParser.cpp \
    • html/track/WebVTTTokenizer.cpp \
    • html/HTMLTrackElement.cpp

    HEADERS +=
    accessibility/AccessibilityARIAGridCell.h
    @


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.