使用Qt 5.0构建Directshow插件 [英] Build Directshow plugins with Qt 5.0

查看:144
本文介绍了使用Qt 5.0构建Directshow插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我已经在我的windows xp系统上安装了Qt 5.0.0。我的目标是使用Qt 5.0给出的视频播放示例播放视频。它位于我机器上的以下路径上。



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



当我执行示例时,它无法播放视频(.MP4文件)。我谷歌,我知道我必须在我的机器上构建directshow插件,因为Qt 5.0使用directshow插件在Windows XP上播放视频。



当我尝试使用QtCreator构建directshow插件。它给出错误qedit.h:找不到这样的文件或文件夹。。



我有建议的解决方案

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 / [ ^ ]



这些工作都没有对我来说。

我还能做什么才能成功执行视频聊天示例?

有没有人遇到过类似的问题?



谢谢所有

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

推荐答案

如果您的Qt 5示例应用程序无法正常运行,那么您在安装Qt时遇到问题。确保您的计算机上已经安装了可用的VC2010,因为这是样本似乎需要的。 Qt通常有一个构建所有样本项目或脚本文件,您需要在安装后运行它们以构建具有正确依赖关系的所有示例项目。如果你按照说明安装了Qt并检查了这些东西,那么样本构建没有错误,样本仍然无法工作你可能需要回到Qt人员那里寻求支持。
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.



我在我的microsoft sdk路径中包含了以下文件qedit.hC:\Program Files \ MicrosoftMicrosoft SDKs \ Windows \\\ v6 .0A \包括

此处 qedit.h文件。
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.


这篇关于使用Qt 5.0构建Directshow插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆