Results 1 to 2 of 2

Thread: media player in qtopia

  1. #1
    Join Date
    Dec 2006
    Posts
    123
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt/Embedded
    Platforms
    Unix/X11

    Default media player in qtopia

    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.
    Last edited by jpn; 18th December 2007 at 15:11. Reason: missing [quote] tags

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,716
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: media player in qtopia

    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.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Qtopia 4.2.4 opensource won't configure
    By MarkoSan in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 28th November 2007, 14:54
  2. Replies: 3
    Last Post: 6th March 2007, 19:24
  3. Qtopia 4.2 Open Source edition released!
    By lpotter in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 21st December 2006, 21:45
  4. Undefined symbols in Qtopia
    By minguzzi in forum Installation and Deployment
    Replies: 0
    Last Post: 13th September 2006, 14:59
  5. media player controls for suse10/qt designer
    By RajeshPR in forum Qt Programming
    Replies: 1
    Last Post: 20th March 2006, 09:56

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.