Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi All,

I have installed Qt 5.0.0 on my windows xp system.My target is to play video with videowidget example given with Qt 5.0. Its located at following path on my machine.

C:\Qt\Qt5.0.0\5.0.0\msvc2010\examples\multimediawidgets\videowidget

When i execute example it could not play video (.MP4 file). I google for that, i come to know i have to build directshow plugin on my machine, because Qt 5.0 use directshow plugin to play video on Windows XP.

When i tried to build directshow plugin with QtCreator. It gives error "qedit.h : No such file or folder found.".

I have solution suggested on
http://social.msdn.microsoft.com/Forums/en-US/windowssdk/thread/ed097d2c-3d68-4f48-8448-277eaaf68252[^]

http://jaewon.mine.nu/jaewon/2009/06/17/a-workaround-for-a-missing-file-dxtrans-h-in-directx-sdk/[^]

None of those work for me.
What else i can do to execute videowidget example successfully?
Did anyone face similar problem?

Thanks All
Posted

If your Qt 5 sample application is not working then you have an issue with the installation of Qt. Make sure you already have a working VC2010 on your machine as this is what the sample seems to require. Qt usual has a "build all samples" project or script file that you need to run after installation to build all the sample projects with their correct dependencies. If you've installed Qt as per the instructions and checked these things, the samples build without errors and the sample still doesn't work you'll probably need to go back to the Qt guys for support.
 
Share this answer
 
Comments
Bhavin Jagad 5-Feb-13 8:12am    
Actually I was trying to build directshow plugin in QtCreator. Letter i come to know that qedit.h file is no longer shipped with VS2010 package. So I solved in this way. I have post answer below. Thanks a lot for reply.
 
Share this answer
 
I included following file "qedit.h", in my microsoft sdk path "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include"
Here the qedit.h file.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900