Search code examples
qt4

QtMultimedia module in Ubuntu 12.04LTS


I have some problems with the QtMultimedia module in Ubuntu 12.04. I can't find its development files in /usr/include. Should I install extra packages for this? If yes, what is its name?

Note: I have installed QtSDK from Ubuntu packages, not the SDK provided by Nokia.


Solution

  • I have been having the same problem, which I just solved. It seems that the QtMultimedia module now resides in the QtMobility package. So you need to install QtMobility, which provides QtMultimediaKit :

    sudo apt-get install qtmobility-dev
    

    When compiling, you must add the following flags :

    -I/usr/include/QtMultimediaKit -I/usr/include/QtMobility
    -lQtMultimediaKit