On 17 October 2013 22:17, Lopes Yoann <[email protected]> wrote: > Hi, > > QMediaPlayer::setMedia() is an asynchronous operation. The media is not done > loading when you call mediaPlayer->metaData(). > You need to listen to the metaDataAvailableChanged() signal to be notified > whenever the metadata is available. > See > http://qt-project.org/doc/qt-5.0/qtmultimedia/qmediaobject.html#metaDataAvailableChanged
This behaviour is quite different to most other setProperty()-type functions in Qt. Is it documented? Regards, Sze-Howe _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
