Results 1 to 20 of 70

Thread: Phonon module question -- help needed

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Phonon module question -- help needed

    I think you forgot something essential.
    do you have DirectX SDK installed on your system?
    then you must run dx_setenv.cmd in the console before running configure.
    I don't know why isn't it mentioned in the wiki.

    probably you now want to download the MS DX SDK.
    but you can wait a little; because probably I will give you a surprise!
    I have made a package containing all pieces that are needed for building a phonon support qt with mingw.
    probably it will be very small in the zip format (less than 10 MB)

    its benefits:
    - you don't need to download the whole MS DX SDK which is about 500 MB.
    - you don't need to search and download several pieces/tools separately.
    - and, finally, you don't even need any special configurations and low level knowledge and you don't need to enter any complicated and vague command lines that are forgot and mistaken easily (*), since it builds qt for you fully automatically!
    it restores webkit support after compilation by restoring the necessary prior dll files.
    It can shutdown your system automatically after compilation if you want.
    it generates a time report too.
    and some other tiny features.
    almost all of these are implemented via the windows command files (very similar to batch files).

    *: but it's better to be experienced with such low level things anyway;
    if I wasn't, I couldn't make such magical package.
    now it helps me add phonon support to every qt sdk very quickly, easily, and more reliably;
    and I can modify it if e.g. some future version of the qt changes structurally.

    I named it `phonon4qtmingw'.
    I am now re-building my own qt with it.
    when the build process is finished, I will test it for phonon, and probably I will build and test with it a qt on another system too;
    then I will upload it for you.

    but, it's not so flexible or intelligent.
    it can work only on a completely installed (recent) qt sdk which has its own mingw in a predetermined directory.
    I had not the resources needed to test and extend it further reliably but I think it's sufficient at least for many guys like me at the moment.
    it can be further extended, flexible and configurable in the near future if needed.
    but it can be modified easily even now if one has the required knowledge.

    -----------------------

    PS: can someone inform me in advance about a good and free public file hosting to upload my package?

    thanks.
    Last edited by FS Lover; 19th July 2009 at 21:53.

  2. The following user says thank you to FS Lover for this useful post:

    benlau (20th July 2009)

  3. #2
    Join Date
    Jul 2009
    Posts
    22
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

    Default Re: Phonon module question -- help needed

    Quote Originally Posted by FS Lover View Post
    I think you forgot something essential.
    do you have DirectX SDK installed on your system?
    then you must run dx_setenv.cmd in the console before running configure.
    I don't know why isn't it mentioned in the wiki.
    I am also wonder why the qtcentre's wiki didn't mention about it. I only have the Windows SDK suggested by Trolltech's manual. May be the kdewin did the job for it, as it have header for directx.

    In fact, I just found that my method is working even without the DirectX SDK! The reason of why the video do not work in simple... I am running the application in VirtualBox 2.x.

    I have copied the DLL built in VM to a real machine, it can play video now!

Similar Threads

  1. Replies: 2
    Last Post: 24th April 2009, 12:13
  2. Playing a stream using phonon module
    By ram136682 in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 28th August 2008, 14:42
  3. Replies: 0
    Last Post: 5th August 2008, 10:54
  4. no phonon module :(
    By losiem in forum Installation and Deployment
    Replies: 2
    Last Post: 8th July 2008, 12:31

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
  •  
Qt is a trademark of The Qt Company.