Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QtWebKit config with QtMobility MultimediaKit option on Qt/Embedded Linux
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?
leon.anavi last edited by
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.
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.
Forced the following options into WebKit.pri project include file to compile USE_QTMULTIMEDIA option.
CONFIG += mobility
MOBILITY += multimedia
DEFINES += USE_QTMULTIMEDIA=1
The configure options were:
./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
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.
Rage44 last edited by
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.