Qt4.8.6 cross-compile to ARM -

  • I'm getting "Phonon support cannot be enabled due to functionality tests" while I run 'configure' with phonon parameter passing to it. (./configure <other options> -phonon)
    Please help me to resolve this !

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Add the -v option to see exactly what test failed.

    You'll likely need to provide the dependencies of Phonon for your ARM target.

    Note that there's now Qt 4.8.7 (the last of the Qt 4 series)

  • @SGaist
    Thank you very much for your reply...
    Can you please tell me how can I provide the dependencies of phonon or Where to check its dependencies ? (where & what modification I should do ?) (I'm new to this Qt cross compiling & spent nearly a month trying to resolve this !)

  • Lifetime Qt Champion

    Before diving into that, do you need Phonon at all ? Because if you don't need it then just don't cross-compile it.

    In any case, you have a the dependencies explained here.

  • Yes, I need to cross compile qt with phonon to stream videos on ARM
    when I run Qt application on ARM based system, I get warnings as below

    [ 64.254821] wm97xx-ts 0-0:wm9712-codec: No IRQ specified
    WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
    WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::VideoWidget ( no objectName ).

    This is why I'm trying to include phonon with 'configure' command while build qt source code !

  • Lifetime Qt Champion

    Did you check that you have all the gstreamer plugins installed ?

  • gstreamer plugins are available on my linux x86_64 machine & there are no issues with video play (on my host machine)
    I get those warnings when I try to run 'Qt video play application' on target machine (ARM based system)

  • Lifetime Qt Champion

    You must also have them for your target. The libraries/plugins you have installed for your host computer won't influence when you cross-compile. You need them for your target architecture.

Log in to reply

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