[maemo-developers] Qt and Multimedia: the big mess

From: Andrea Grandi a.grandi at gmail.com
Date: Tue Jul 13 20:06:07 EEST 2010
Hi all,

let's make the point about Multimedia libraries available in Qt framework.
We have: QtMultimedia, QtMobility-Multimedia, Phonon, QSound and
QtMultimediaKit is going to be released. Did I miss something?

At the moment I'm writing an application that uses
QtMobility-Multimedia and I had to recompile this library for Qt 4.6.3
Desktop to be able to test my application for Desktop target (it takes
to long to test it directly on N900 and it's not a good idea if I've
just to test networking, xml parsing ecc...).

Why doesn't Nokia try to unify all these multimedia libraries or at
least try to make them API-consistent? Even from a QtMobility release
to another there are differences... for example this is what I've to
do to be able to compile my project on both Desktop and Maemo target:

 // hack to make things work with maemo qt-mobility version
    #if defined(Q_WS_MAEMO_5)
        playlist->setMediaObject(player);
    #else
        player->setPlaylist(playlist);
    #endif

Please let me know what do you think about it.

Regards,

-- 
Andrea Grandi
email: a.grandi [AT] gmail [DOT] com
website: http://www.andreagrandi.it
PGP Key: http://www.andreagrandi.it/pgp_key.asc
More information about the maemo-developers mailing list