Qcamerainfo availableCameras not work in windows 10
-
I use Qt 5.10.1 and am trying to run an application on windows 10, but the QCameraInfo::availableCameras().count() statement always returns zero, ie it does not find a webcam installed on the notebook. This same application runs normally on Linux, Mac OS and windows 7. I have already enabled the camera on the OS so that all applications can access the webcam. Is there any "trick" to make this statement run in windows 10?
-
Hi,
You should also add:
- Which exact version of Windows you are using
- The model of the camera
- Whether it comes with a special driver
-
Find Driver of that Webcam for Windows 10 OS or Simply goto settings -> Update -> Check for Update. Then may be you will get essential driver for Webcam. After this restart your machine and execute program again.
-
Find Driver of that Webcam for Windows 10 OS or Simply goto settings -> Update -> Check for Update. Then may be you will get essential driver for Webcam. After this restart your machine and execute program again.
@Prince_0912 As stated in his post the camera already works:
"I have already enabled the camera on the OS so that all applications can access the webcam." -
@jsulm i had same issue like this, i have asus webcam that is supported or working in win xp , 7 , vista , 8 but not in 8.1 and 10. Since application is same. So what kind of that issue occurs if this type is not?
-
@jsulm i had same issue like this, i have asus webcam that is supported or working in win xp , 7 , vista , 8 but not in 8.1 and 10. Since application is same. So what kind of that issue occurs if this type is not?
@Prince_0912 The webcam is working in other applications, but Qt app cannot find it
-
-
Hi,
You should also add:
- Which exact version of Windows you are using
- The model of the camera
- Whether it comes with a special driver
@SGaist Hi, i use Windows 10 Home Single Language 64 bits, version 1803, and the camera is a webcam embedded in a Samsung laptop/notebook.
-
More hardware information might help. Did you get any error on the console when running your application ?
-
We have the same problem
Camera.Start() throws access violation error.
the hardware configuration is below
http://www.wortmann.asia/data/album/file/1530168638752052316.pdfVideo Capture Devices
Number of Devices: 2FriendlyName: User Facing Right Category: Camera SymbolicLink: \\?\display#int3470#4&5dbfe47&0&uid13424#{e5323777-f976-4f5b-9b55-b94699c46e44}\{089f8e59-ffe6-4494-97e5-92273c08f2f1} Location: Front Rotation: 0 Manufacturer: Intel Corporation HardwareID: VIDEO\VEN_8086&DEV_591E&SUBSYS_224317AA&REV_02&INT3470,VIDEO\VEN_8086&DEV_591E&SUBSYS_224317AA&INT3470,VIDEO\VEN_8086&DEV_591E&INT3470,VIDEO\INT3470 DriverDesc: Intel(R) AVStream Camera 2500 DriverProvider: Intel DriverVersion: 30.14393.9656.3064 DriverDateEnglish: 9/23/2016 00:00:00 DriverDateLocalized: 23/09/2016 00:00:00 Service: iacamera64 Class: MEDIA DevNodeStatus: 180200A[DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER] ContainerId: {00000000-0000-0000-FFFF-FFFFFFFFFFFF} ProblemCode: No Problem
BusReportedDeviceDesc: ISP Camera Device
Parent: PCI\VEN_8086&DEV_591E&SUBSYS_224317AA&REV_02\3&11583659&1&10
DriverProblemDesc: n/a
UpperFilters: n/a
LowerFilters: n/a
Stack: \Driver\ksthunk,\Driver\iacamera64,\Driver\igfx
ContainerCategory: n/a
SensorGroupID: n/a
MFT0: {5CDB3151-134C-4622-8E44-FAA9158D2F4C}
DMFT: n/a
DependentStillCapture: n/a
EnablePlatformDMFT: n/a
DMFTChain: n/a
EnableDshowRedirection: n/a
FrameServerEnabled: FalseFriendlyName: World Facing Right Category: Camera SymbolicLink: \\?\display#int3470#4&5dbfe47&0&uid13424#{e5323777-f976-4f5b-9b55-b94699c46e44}\{ce46c6bb-90df-4932-8ec1-add1804961a1} Location: Back Rotation: 0 Manufacturer: Intel Corporation HardwareID: VIDEO\VEN_8086&DEV_591E&SUBSYS_224317AA&REV_02&INT3470,VIDEO\VEN_8086&DEV_591E&SUBSYS_224317AA&INT3470,VIDEO\VEN_8086&DEV_591E&INT3470,VIDEO\INT3470 DriverDesc: Intel(R) AVStream Camera 2500 DriverProvider: Intel DriverVersion: 30.14393.9656.3064 DriverDateEnglish: 9/23/2016 00:00:00 DriverDateLocalized: 23/09/2016 00:00:00 Service: iacamera64 Class: MEDIA DevNodeStatus: 180200A[DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER] ContainerId: {00000000-0000-0000-FFFF-FFFFFFFFFFFF} ProblemCode: No Problem
BusReportedDeviceDesc: ISP Camera Device
Parent: PCI\VEN_8086&DEV_591E&SUBSYS_224317AA&REV_02\3&11583659&1&10
DriverProblemDesc: n/a
UpperFilters: n/a
LowerFilters: n/a
Stack: \Driver\ksthunk,\Driver\iacamera64,\Driver\igfx
ContainerCategory: n/a
SensorGroupID: n/a
MFT0: {5CDB3151-134C-4622-8E44-FAA9158D2F4C}
DMFT: n/a
DependentStillCapture: n/a
EnablePlatformDMFT: n/a
DMFTChain: n/a
EnableDshowRedirection: n/a
FrameServerEnabled: False