Can not start the camera. Even the standard example does not work:

\Qt\Examples\Qt-5.6\qtmultimedia\multimediawidgets\camera\ 

On the line camera->start(); always output to console:

failed to start

During camera->start(); when calling camera->start(); output:

defaultServiceProvider :: requestService (): no service found for - "org.qt-project.qt.camera"

camera->error(); returns:

QCamera :: ServiceMissingError

How to solve this problem?

  • Most likely the problem is in your drivers, either in this version of qt, or in a port under python, because everything works fine on my Qt 5.5.1 C ++. - Vyacheslav Savchenko
  • I am writing under Windows (8.1) and trying to launch the webcam of the laptop, by the way. I tried to run on another laptop (Windows 7) and the same thing. - Grigory Nikolaevich
  • I also have a laptop, Samsung, WebCam SC-13HDL11939N webcam, Windows 8. Well, if so, then most likely the matter is in your version of Qt. - Vyacheslav Savchenko
  • I tried in different versions. During a call, camera->start(); the output is: defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera" And camera->error(); returns: QCamera::ServiceMissingError - Grigory Nikolaevich
  • Download Qt 5.5.1 - a similar problem. - Grigory Nikolaevich

0