Results 1 to 6 of 6

Thread: Phonon in Windows XP using Mingw

  1. #1
    Join Date
    Oct 2010
    Posts
    41
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Phonon in Windows XP using Mingw

    I installed the Microsoft SDK, I'm using Mingw and I can't make it work. I found this article http://labs.qt.nokia.com/2009/07/15/...-windows-love/ but it's quite old and also the documentation on the Qt Phonon page hasn't been updated since 2007 apparently. So where are we now? Can it or it cannot work? I wouldn't like having to switch to Linux every time I want to develop using Qt. If it can work, please tell me how.


    Thanks in advance.

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

    Default Re: Phonon in Windows XP using Mingw

    I installed the Microsoft SDK, I'm using Mingw and I can't make it work.
    You either work with MS, OR with MinGW.
    ==========================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.

  3. #3
    Join Date
    Oct 2010
    Posts
    41
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Phonon in Windows XP using Mingw

    http://doc.qt.nokia.com/latest/phonon-overview.html

    Windows

    On Windows, building Phonon requires DirectX and DirectShow version 9 or higher. You'll need additional SDKs you can download from Microsoft.
    Regardless of what compiler you use, but it doesn't work for MinGW and since the documentation is a bit old I was wondering if anything new came out. The article I linked above says that Qt supports MinGW but that "MinGW doesn't support us" with respect to Phonon. Very convenient indeed. I'll switch technologies for this project then.

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

    Default Re: Phonon in Windows XP using Mingw

    Yes, on windows you can't use MingGW for building phonon. (phonon docs):
    Warning: The MinGW version of Qt does not support building the Qt backend.
    EDIT:
    Very convenient indeed. I'll switch technologies for this project then.
    Well, you have to remember, that Phonon is very hardware and therefore system dependent by its nature.
    For a very long time (Qt version < 4.X) media support was not part of Qt, for that very reason.
    Phonon is still a very young technology, which by far is not yet ripe.
    At the moment, phonon has very basic usages support out of the box, such a predominating media playback, and, it offers a framework to implement your own.

    The very fact Qt even dared to go on on this path, surprised me, but should be more admired than looked down at, when considering the problematic of a crossplatfom media support.
    Last edited by high_flyer; 21st January 2011 at 15:05.
    ==========================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.

  5. #5
    Join Date
    Oct 2010
    Posts
    41
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Phonon in Windows XP using Mingw

    Alright, thank you.

    I'm going to download MSVC Express which is free and then try to use its compiler from QtCreator. Can you please tell me if I will be able to make it work with that?

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

    Default Re: Phonon in Windows XP using Mingw

    I think that if you do the configuration correctly it should work, but I can't say for sure, since I never used 2005 express.
    Maybe some other users who have can comment as well.
    ==========================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. Phonon, MinGW, GStreamer
    By youkai in forum Qt Programming
    Replies: 1
    Last Post: 16th January 2012, 01:23
  2. Phonon on Qt 4.6.3 with mingw
    By paolom in forum Qt Programming
    Replies: 0
    Last Post: 14th July 2010, 17:05
  3. Problem with Phonon on Windows with Mingw and Qt 4.6
    By *Baby* in forum Installation and Deployment
    Replies: 0
    Last Post: 5th February 2010, 16:38
  4. phonon - mingw
    By FS Lover in forum Installation and Deployment
    Replies: 2
    Last Post: 16th July 2009, 15:33
  5. QT 4.2.2 Windows Mingw
    By KaptainKarl in forum Installation and Deployment
    Replies: 3
    Last Post: 4th May 2007, 14:57

Tags for this Thread

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.