Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How do I notice that another program is trying to connect to camera being used in my program?



  • Hello,
    I'm wondering if there's any way to notice another program is trying to connect in camera in my program.

    If the camera connection is successful, I found information in the registry about the last time the camera was started, the last time it was stopped, and whether it was currently in use.
    However, I could not find information related to trying to connect the camera when another program was using it.

    When I am using the camera in my program and try to connect the camera in another program, I need to release the camera in my program and hand it over to another program.

    Thanks in advance.


Log in to reply