Results 1 to 8 of 8

Thread: Phonon error with dshow.h

  1. #1
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Phonon error with dshow.h

    Hi All,
    I had installed Qt 4.4.0 open source on my Windows XP machine. First I didnt have DirectX SDK installed. It went fine, no errors. Only that Phonon was not installed.

    Then I downloaded the DirectX SDK (March 2008 ) . While configuring, it showed YES to Phonon supprt, but on compilation I get the following error -
    videorenderer_vmr9.cpp
    d:\qt\4.4.0\src\3rdparty\kdebase\runtime\phonon\ds 9\compointer.h(21) : fatal err
    or C1083: Cannot open include file: 'dshow.h': No such file or directory
    abstractvideorenderer.cpp
    d:\qt\4.4.0\src\3rdparty\kdebase\runtime\phonon\ds 9\compointer.h(21) : fatal err
    or C1083: Cannot open include file: 'dshow.h': No such file or directory
    The list is more for other files, btu the error is same pointing to dshow.h .

    I searched net and found that dshow.h is not included in directx now( and indeed i cudnt find dshow.h on my system).

    I want to know if someone has successfully installed phonon with DirectX SDK March 2008 ???

    If yes,, how ???

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Phonon error with dshow.h

    Did you run
    Qt Code:
    1. C:\Program Files\Microsoft DirectX SDK (March 2008)\Utilities\Bin\dx_setenv.cmd
    To copy to clipboard, switch view to plain text mode 
    ?
    J-P Nurmi

  3. #3
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Phonon error with dshow.h

    Yes, I had run it.
    Also I searched in my C:\Program Files\Microsoft DirectX SDK (March 2008) directory for dshow.h . But didnt find it.

  4. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Phonon error with dshow.h

    Well I guess I dont have Platform SDK installed. Directshow has been moved to Platform SDK. I guess hence I am getting error. Will try to download SDK and re install.

  5. #5
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Phonon error with dshow.h

    Ohh yea, it was DirectShow problem. I installed the DirectShow from Platform SDK, and now Phonon is installed
    Thx for looking to the prob

  6. #6
    Join Date
    Feb 2006
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Phonon error with dshow.h

    huh? The platform SDK comes with MSdevstudio so if you have msvc2005 you don't need to install platform sdk.

    dshow.h has nothing to do with platformsdk, or directx. it's a mingw file. and if you're trying to build qt on msvc then why should it be looking for dshow.h?


    Quote Originally Posted by aamer4yu View Post
    Ohh yea, it was DirectShow problem. I installed the DirectShow from Platform SDK, and now Phonon is installed
    Thx for looking to the prob

  7. #7
    Join Date
    Feb 2006
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Phonon error with dshow.h

    I found this link which fixed me up for Phonon on XP/MSVC2005.

  8. #8
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Phonon error with dshow.h

    The platform SDK comes with MSdevstudio so if you have msvc2005 you don't need to install platform sdk.
    I dont think so. dshow.h is a directX (directshow) file. Googling a little I found DirectShow part was moved to PLatform SDK instead of the directX SDK. Hence I was getting that error. When I installed platform sdk, I cud install phonon.

    The link you gave too requires platform SDK. And also I didnt install whole platform SDK(since its heavy), just the DirectShow part.

    Getting the solution is good, but understanding the problem is even better

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.