Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ directshow QT
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 29-Jan-13 1:09am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
Bhavin Jagad at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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.
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 8,963
1 OriginalGriff 6,726
2 Peter Leow 4,232
3 Zoltán Zörgő 3,769
4 Richard MacCutchan 2,558


Advertise | Privacy | Mobile
Web04 | 2.8.150123.1 | Last Updated 5 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100