[Qt-interest] Including Phonon library

Keshava Krishna keshavkrishna88 at gmail.com
Mon Apr 6 18:15:23 CEST 2009


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090406/f51d8d1c/attachment.html 


More information about the Qt-interest-old mailing list