PDA

View Full Version : media player in qtopia



sar_van81
18th December 2007, 14:23
hi everyone,

has anyone successfully compiled the mediaplayer in qtopia open source 4.2.4 (qtopia-opensource-src-4.2.4.tar.gz). i get the following errors:


In file included from mediaplayer.cpp:24:
playercontrol.h:25:25: error: qmediatools.h: No such file or directory
playercontrol.h:26:27: error: qmediacontent.h: No such file or directory
playercontrol.h:27:27: error: qmediacontrol.h: No such file or directory
In file included from playerwidget.h:26,
from mediaplayer.cpp:25:
statewidget.h:27:27: error: qmediawidgets.h: No such file or directory
In file included from mediaplayer.cpp:25:
playerwidget.h:28:19: error: media.h: No such file or directory
playerwidget.h:32:39: error: private/activitymonitor_p.h: No such file or directory
In file included from mediaplayer.cpp:26:
mediabrowser.h:28:38: error: private/requesthandler_p.h: No such file or directory
mediabrowser.h:29:33: error: private/menumodel_p.h: No such file or directory
mediabrowser.h:30:32: error: private/menuview_p.h: No such file or directory
playercontrol.h:41: error: expected ‘,’ or ‘...’ before ‘&’ token
playercontrol.h:41: error: ISO C++ forbids declaration of ‘QContent’ with no type
playercontrol.h:49: error: ‘QMediaContent’ has not been declared
playercontrol.h:60: error: ‘QMediaContent’ has not been declared
playercontrol.h:62: error: ISO C++ forbids declaration of ‘QMediaControlNotifier’ with no type
playercontrol.h:62:

i included the path to the media files in makefile.target. but it did not work out .

can anyone provide me any suggestions or solutions for this ?

thanks in advance,

saravanan.

high_flyer
19th December 2007, 12:35
you should not change the makefile, but the pro file, since each time you rebuild with qmake the make file is generated and changes in it will be lost.