qt4-mac and phonon
TomLeMort
thomas.pietrzak at gmail.com
Wed Aug 14 04:39:59 PDT 2013
Michael Dickens-4 wrote
> Hi Petr - Shortest answer is: I know this is an issue and I'm working on
> it. I decided to go ahead with the qt4 upgrade to 4.7.0 anyway, knowing
> I'd have a queue of changes to make w/r.t. this upgrade and having this
> issue being on the queue (it is).
>
> Longer answer: Qt4 uses a stock 3rd-party install of Phonon, but augments
> it with QMake build files instead of using the default CMake ones. Phonon
> itself (the front end) is written by the KDE developers; the Quicktime 7
> (qt7) audio backend is written by the Qt folks, and this is the only
> backend that works with Phonon and OSX/Darwin. The front end is written
> in C++, and thus compiles easily. The qt7 backend is written in OBJC++,
> and thus uses automoc4 (and thence moc) to do some of the object coding.
> Although I haven't tried this in a while, the latest CMake and automoc4 do
> not recognize OBJC++ files for 'moc' purposes, and hence the qt7 backend
> fails to build with various errors -- I'll try building in this manner
> again this morning & see if anything has changed, but I doubt it. QMake
> knows how to handle OBJC++ and 'moc' files, so I'm working on porting Qt's
> QMake build files into Phonon. I think once this porting is finished
> those MP ports that depend on Phonon and t
> he qt7 backend will work correctly; I certainly hope so.
>
> Hope that helps clarify the situation a bit. - MLD
Hi,
Sorry for digging such an old thread, however after my searches it is the
most relevant to my problem. I would like to use phonon to play videos with
Qt 4.8. I installed these ports:
- phonon
- qt4-mac
- Qt4-creator-mac
My program compiles fine, but I get these messages at execution:
Dynamic session lookup supported but failed: launchd did not provide a
socket path, verify that org.freedesktop.dbus-session.plist is loaded!
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin
could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin
could not be loaded
I think it is the same problem than above. I looked at the content of the
packets and there is no sign of phonon backend/pluging whatsoever in the
qt4-* packets.
Qt documentation says “When running the Qt configure script, you will be
notified whether Phonon support is available on your system. As mentioned
previously, to use develop and run Phonon applications, you also need to
link to a backend, which provides the multimedia functionality.”
https://qt-project.org/doc/qt-4.8/phonon-overview.html
I have no idea how to do that with the ports. Can anybody help me with that?
Thanks!
--
View this message in context: http://mac-os-forge.2317878.n4.nabble.com/qt4-mac-and-phonon-tp159474p225788.html
Sent from the MacPorts - Developer mailing list archive at Nabble.com.
More information about the macports-dev
mailing list