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. QtWebKit config with QtMobility MultimediaKit option on Qt/Embedded Linux
QtWS25 Last Chance

QtWebKit config with QtMobility MultimediaKit option on Qt/Embedded Linux

Scheduled Pinned Locked Moved Qt WebKit
5 Posts 3 Posters 4.4k Views
  • 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.
  • D Offline
    D Offline
    davem
    wrote on last edited by
    #1

    On Qt/Embedded Linux project for ARM platform, we've been doing video streaming tests where we found that QtWebKit uses a different GStreamer video sink pipeline than QtMultimedia or Phonon.

    There are multiple MediaPlayer objects available in QtWebKit, and it looks like its own GStreamer support is picked on Linux platform over QtMobility Multimedia option. In generated Makefiles, USE_GSTREAMER is defined instead of USE_QTMULTIMEDIA.

    I tried modifying the WebKit.pro project file to force CONFIG += mobility and MOBILITY += multimedia, but Makefiles still define USE_GSTREAMER.

    Has anyone had any luck configuring QtWebKit with QtMobility option for Qt/E Linux?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Which Qt version are you using? I don't have experience with similar issues but you can check several wiki articles and threads that might be useful:

      • "Support for Embedded Linux":http://qt-project.org/wiki/Support_for_Embedded_Linux
      • "Qt for Embedded Linux Requirements":http://qt-project.org/doc/qt-4.8/requirements-embedded-linux.html
      • "Compiling QT for embedded with webkit and html5 support for play video content via demo of web browser.":http://qt-project.org/forums/viewthread/16595

      Please note that all links posted above are related to Qt 4.8.

      http://anavi.org/

      1 Reply Last reply
      0
      • D Offline
        D Offline
        davem
        wrote on last edited by
        #3

        Yes, we are using Qt 4.8.4 Embedded Linux and already familiar with these suggested links.

        (I'm offline now so don't have the configure options handy. Link #3 was one reference for trying webkit options.)

        This question is specific to selecting QtMobility 1.2 Multimedia option with WebKit in Qt 4.8.4. So far I've had to hack the WebKit Makefiles with USE_QTMULTIMEDIA, but would like to know the appropriate recipe to generate them.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          davem
          wrote on last edited by
          #4

          Forced the following options into WebKit.pri project include file to compile USE_QTMULTIMEDIA option.

          {code}
          CONFIG += mobility
          MOBILITY += multimedia
          DEFINES += USE_QTMULTIMEDIA=1
          {code}

          The configure options were:

          {code}
          ./configure -opensource -prefix $HOME/erootfs/qtopia.4.8.4 -embedded arm -xplatform qws/linux-arm-angstrom-g++ -little-endian -host-little-endian -no-neon -qtlibinfix E -phonon -v -force-pkg-config -multimedia -webkit
          {code}

          The libQtWebKit.so.4.9.3 binary was linked with libQtMultimediaKitE.so.1.2.0.

          When running the browser demo, the QtMobility/mediaservice/libqgstengine.so plugin is loaded, but the only videos which play are from HTML pages on local filesystem.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Rage44
            wrote on last edited by
            #5

            if you wont to have streaming video operating on ARM Embedded platform you should use a well supported codex like "XBMC Media Center for Linux .":http://wiki.xbmc.org/index.php?title=Main_Page
            What you will do is add a QGraphicsView to your view and assign XBMC media object. what you will be doing is making user space calls to init functions. the link should get you started in the right direction.

            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