[Qt-interest] Opensuse 11.1 - building Phonon from Qt 4.6.1 source
Thiago Macieira
thiago at kde.org
Tue Feb 23 13:08:15 CET 2010
Em Terça-feira 23 Fevereiro 2010, às 12:19:59, Stephen Collyer escreveu:
> I've had a few problems building and using Phonon under Opensuse 11.1
> with Qt 4.6.1. This is what I did to solve them:
>
> 1. Install the following packages:
>
> gstreamer-0_10
> gstreamer-0_10-devel
> gstreamer-0_10-plugins-base
> gstreamer-0_10-plugins-base-devel
>
> 2. Make a link from /usr/include/gst to /usr/include/gstreamer-0.10/gst
>
> The Phonon code expects the gstreamer includes to be in /usr/include/gst
> but the opensuse packages don't put them there.
No, the code doesn't expect it to be there.
It builds just fine on my machine with the headers in
/usr/include/gstreamer-0.10/gst.
> 3. Configure explicitly with -phonon option:
>
> $ ./configure -v -phonon ...
>
> This is apparently an evaluated default (i.e. phonon is built by default if
> configure
> finds phonon support) but it didn't work for me without the explicit
> option.
>
> Phonon support is then built and installed.
>
> However, the phonon includes are found, by default, in
> /usr/local/Trolltech/Qt-4.6.1/include/phonon.
> This means that the required includes for Phonon::AudioOutput,
> Phonon::MediaObject and so on are:
>
> #include <phonon/AudioOutput>
> #include <phonon/MediaObject>
>
> rather than those documented as <Phonon/AudioObject>, <Phonon/MediaObject>
> (with
> uppercase P in Phonon).
The documentation is wrong. Please use lowercase p.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100223/4454215d/attachment.bin
More information about the Qt-interest-old
mailing list