PDA

View Full Version : Not able to start camera using QCamera class



pratik.manvar
27th June 2016, 11:26
Hi,

I am having problem in recording video using QMediaRecorder and QCamera classes.
There is a push-button to start recording. I have used QCameraInfo class to find the cameras of my system and its return the proper camera device information. But, my application crashes with segmentation fault when trying to start camera ("camera->start" in code).

Below is the attached code, i have written. Please guide me out here, if i am missing something.
Thanks in advance.