Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML Camera external trigger event is not getting when unplug and again plug the camera
Forum Updated to NodeBB v4.3 + New Features

QML Camera external trigger event is not getting when unplug and again plug the camera

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 360 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dhu0504
    wrote on 9 Feb 2018, 11:03 last edited by
    #1

    I am using Camera qml application. In qml i am writing the below code to get the external trigger key from the camera as follows
    Keys.onReleased: {
    console.log("event.key......................."+event.key)
    if(event.key === Qt.Key_WebCam){
    console.log("key onreleased: Qt.Key_WebCam")
    event.accepted = true
    }

    }
    

    First time i am getting the event. But once unplug again plug the camera the camera key event is not captured.

    It will be very helpful any one give the solution.

    Thanks in advance

    1 Reply Last reply
    0

    1/1

    9 Feb 2018, 11:03

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved