我在Qt中开发应用程序,但我的问题与Windows相关。当我使用MinGW编译我的程序时,我的网络摄像头(a4tech pk-635)就像一个魅力,但是当为UWP编译相同的代码时却没有检测到。此外,我的网络摄像头使用任何'oldfashion'软件,但现代应用程序(如现代Skype)无法识别。为什么?我该如何解决这个问题?
I am developing application in Qt, but my problem is pretty Windows-related. My webcam (a4tech pk-635) works like a charm when I compile my program with MinGW, but is not detected when this same code is compiled for UWP. Furthermore, my webcam works with any 'oldfashion' software, but is not recognized by modern applications (like modern skype). Why? How can I fix that?
我正在使用Win10 Pro,x64。在此先感谢。
I am working on Win10 Pro, x64. Thanks in advance.
推荐答案
您好,
感谢您在此发帖。
据我所知,UWP和QT使用不同的编译器编译应用程序,当为UWP编译相同的代码时,我认为它无法工作。
As far as I know that the UWP and QTuse different compiler to compile application, when same code is compiled for UWP, I think that it cannot work.
您应该使用UWP相关API来调用网络摄像头,然后进行编译。
You should use the UWP relevant API to call web camera, then compile it.
根据我的搜索,以下链接你可以参考它。
Based on my search, the following links you can reference it.
显示相机预览。
音频,视频和相机
使用Windows内置相机UI捕捉照片和视频
Best此致,
Hart
更多推荐
UWP应用程序未检测到我的网络摄像头。
发布评论