I have two webcams, but QCameraInfo::availableCameras returns empty array
问题 According to the documentation, QCameraInfo::availableCameras should return list of available cameras. There's no catch to it according to the docs. But still, I have two webcams and the array of available cameras is returned empty. What can I do? Is this even in the scope of programming, or does this mean Qt only supports limited subset of webcams? The OS I'm using right now is Windows 7x64. 回答1: I have this Problem too.Then I read about the example. I found that once you have declared