c++qtqt-mobility

How can I use QtMultimediaKit on Desktop?


Possibly duplicate question, but I'm not found the answer yet.

So, I'm trying to compile Qt example, called "player". This example uses QtMobility API, but on my PC it doesn't compiles. In particular, compiler shows me fatal error: qmediaplayer.h: No such file or directory on Desktop target. But when setting Symbian target, it compiles successfully.

Also, considering this post, I suppose this is possible, and I'm doing something wrong.

Can anybody help me?


Solution

  • I've installed qtmobility packet on my Ubuntu. The problem was that the Mobility API is missing in Qt package manager.