[Qt-interest] Including Phonon library
R. Reucher
rene.reucher at batcom-it.net
Tue Apr 7 08:14:13 CEST 2009
Change your include statement to look like
#include <phonon/phonon>
The docs are wrong here!
HTH, René
On Tue April 7 2009 05:48:13 Keshava Krishna wrote:
> sorry , i have included the following line, not only CONFIG +=
> qtestlib(which i mentioned in my previous mail)
>
> QT += phonon
>
>
> can anyone help me ...
>
> Regards,
> Keshava.
>
> On Mon, Apr 6, 2009 at 9:45 PM, Keshava Krishna
>
> <keshavkrishna88 at gmail.com>wrote:
> > Hi,
> > 'm using qt 4.4.3 and i want to use phonon library for video playback...
> > i have added the following line in my .pro file
> > CONFIG += qtestlib
> >
> > and following line in my code,
> > #include <Phonon>
> >
> > i have installed phonon, libphonon4 and libphonon-dev, but still 'm
> > getting this error...
> >
> > keshava at keshava-desktop:~/directory$ make
> > g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_PHONON_LIB
> > -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++
> > -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore
> > -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui
> > -I/usr/include/qt4/phonon -I/usr/include/qt4 -I/usr/include/qt4/QtTest
> > -I. -I. -I. -o main.o main.cpp In file included from main.cpp:2:
> > Win.h:8:18: error: phonon: No such file or directory
> > make: *** [main.o] Error 1
> > keshava at keshava-desktop:~/directory$
> >
> >
> > can anyone suggest me the way out?
> >
> > Regards,
> > Keshava.
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
That woman speaks eight languages and can't say "no" in any of them.
-- Dorothy Parker
More information about the Qt-interest-old
mailing list