Results 1 to 8 of 8

Thread: Does anyone actually have Phonon working on Windows?

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

    Default Does anyone actually have Phonon working on Windows?

    If you do please tell me what set up you have. Compiler you are using, version of visual studio, etc...


    I don't know why they make it so hard to get this working. I have Visual Studio 2010 installed and the compiled version of Qt for VS2008 which is supposed to work under VS2010 as well.

  2. #2
    Join Date
    Oct 2010
    Location
    Belarus
    Posts
    71
    Thanks
    1
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Windows Maemo/MeeGo

    Default Re: Does anyone actually have Phonon working on Windows?

    I have both Qt-mingw and qt-vs 4.7.2 installed and phonon example work fine.

    I'm compiled example with mingw and vs and it work
    Try read Qt documentation before ask stupid question.

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

    Default Re: Does anyone actually have Phonon working on Windows?

    Quote Originally Posted by unit View Post
    I have both Qt-mingw and qt-vs 4.7.2 installed and phonon example work fine.

    I'm compiled example with mingw and vs and it work

    Sorry I don't understand what you meant. Did you say that you have both mingw and vs? And how did you make ti work with mingw, as I understand it just can't work out of the box on Windows. Did you do something else, like configure it, compile it yourself or something? If so, where does it teach you how to do that, I've search the whole web to no avail.

    If you meant you have Visual Studio, which version do you have? Did you compile it yourself?

  4. #4
    Join Date
    Mar 2011
    Location
    Denmark
    Posts
    74
    Thanks
    7
    Thanked 10 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Does anyone actually have Phonon working on Windows?

    I use Phonon in my app to play audio with Visual Studio 2010 Qt 4.7.0 for visual studio and the Qt for VSPlugin.

    Did you remember to add the Phonon module to your project? I didn't have any problems at all with it.

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

    Default Re: Does anyone actually have Phonon working on Windows?

    Quote Originally Posted by Berryblue031 View Post
    I use Phonon in my app to play audio with Visual Studio 2010 Qt 4.7.0 for visual studio and the Qt for VSPlugin.

    Did you remember to add the Phonon module to your project? I didn't have any problems at all with it.
    The thing is that I can't compile normal Qt either. When I load a pro file from VS 2010 it says it cannot find the path to the specified file but it doesn't even say which file it is. This is the error I get when loading a *.pro file:

    Qt Code:
    1. --- (Import): Generating new project of myproject.pro file
    2. --- (qmake) : Using: \bin\qmake
    3. --- (qmake) : Working Directory: C:\Documents and Settings\Administrator\Desktop\myproject
    4. --- (qmake) : Arguments: -tp vc "myproject.pro" -o "myproject.vcxproj" QMAKE_INCDIR_QT=$(QTDIR)\\include QMAKE_LIBDIR_QT= QMAKE_LIBDIR=$(QTDIR)\\lib QMAKE_UIC=$(QTDIR)\\bin\\uic.exe QMAKE_MOC=$(QTDIR)\\bin\\moc.exe QMAKE_RCC=$(QTDIR)\\bin\\rcc.exe QMAKE_QMAKE=$(QTDIR)\\bin\\qmake.exe
    5.  
    6. The system cannot find the path specified
    To copy to clipboard, switch view to plain text mode 

  6. #6
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Does anyone actually have Phonon working on Windows?

    Include directory might have some problem. reconfigure it.

  7. #7
    Join Date
    Mar 2011
    Location
    Denmark
    Posts
    74
    Thanks
    7
    Thanked 10 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Does anyone actually have Phonon working on Windows?

    Ahhh I don't load pro files I had some problems when using the import/load functions of the vs plugin.

    I created the Qt Application right from the start in VS, then for my collegue that uses QT Creator on Linux I exported my VS project with "create basic .pro file" option from the QT VS Plugin and we simply keep all source files in the .pri file, so when I add new files I export the project to .pri for him and when he adds new files I add them manually to my vs project( a bit of a pain actually but it doesn't happen that often and it's easy enough to see )

    Try making a new QT project directly in VS and just add your source files to it manually if the project isn't that big.

  8. #8
    Join Date
    Jun 2010
    Posts
    102
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Does anyone actually have Phonon working on Windows?

    add QTDIR=C:\Qt\4.7.2 into Enviroment WIndows
    Contact: Skype: sonnh89
    Yahoo: nhs_0702@yahoo.com

    Liên hệ SKype: sonnh89

Similar Threads

  1. Phonon + windows + vbr
    By Rotator in forum Qt Programming
    Replies: 0
    Last Post: 29th November 2010, 10:15
  2. Phonon windows?
    By sdink87 in forum Newbie
    Replies: 1
    Last Post: 18th November 2009, 19:12
  3. phonon Windows 7
    By Sachtech in forum Qt Programming
    Replies: 0
    Last Post: 9th November 2009, 06:06
  4. Getting Phonon working on windows XP
    By keshava in forum Installation and Deployment
    Replies: 0
    Last Post: 12th May 2009, 16:37

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.