[Qt-interest] Including Phonon library
Keshava Krishna
keshavkrishna88 at gmail.com
Tue Apr 7 08:34:58 CEST 2009
even
#include <phonon/phonon>
did not work out...
keshava at keshava-desktop:~/directory$ make
/usr/bin/qmake-qt4 -unix -o Makefile MOBiLIB.pro
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:9:25: error: phonon/phonon: No such file or directory*
make: *** [main.o] Error 1
keshava at keshava-desktop:~/directory$
On Tue, Apr 7, 2009 at 11:44 AM, R. Reucher <rene.reucher at batcom-it.net>wrote:
> 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
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090407/45e5669f/attachment.html
More information about the Qt-interest-old
mailing list