I am using ubuntu 11.10 and creating a GUI using QT that uses a cmakelist when building.
The problem I am having is i get the "undefined reference to`Phonon::VideoPlayer::VideoPlayer(Phonon::Category, QWidget\*)'" error when running make.

I am using QT 4.7.4 and this "Qt PHONON library not found." also appears when running make.

This is from the cMakeCache

//Path to a library.
QT\_PHONONWIDGETS\_PLUGIN\_RELEASE:FILEPATH=/usr/lib/i386-linux-gnu/qt4/plugins/designer/libphononwidgets.so

//Path to a file.
QT\_PHONON\_INCLUDE\_DIR:PATH=/usr/include/qt4/phonon

//The Qt PHONON library
QT\_PHONON\_LIBRARY:STRING=

The string always remains empty.

In my header file this is the related code

include "phonon/VideoPlayer"

Phonon::VideoPlayer\* player;

and in the cpp 

player = new Phonon::VideoPlayer(Phonon::VideoCategory,this);

any help is appreciated.

Thanks 

Jacob