Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Create a Button(Hardware) Click Event Listner
QtWS25 Last Chance

Create a Button(Hardware) Click Event Listner

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.3k 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.
  • U Offline
    U Offline
    ududsha
    wrote on last edited by
    #1

    I am trying to implement a small app which gets the input from an external button (hardware). So I think I can use socket or other preferred way to communicate with the application. I have no clear idea with these hardware this domain even if I have a fair knowledge in basic QTprogramming. Please help me on this issue. (I don't want to embed the qt. Just try to listen to the external hardware signals) Thanks!

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      Hi and welcome to Qt-project.org.
      Your question isn't really clear. Oke, you need a signal if a button is pressed and that button is some kind of hardware, that is clear. Now, what devices is running the app? What Qt do you use? How do you want to "connect" to the hardware button? If these questions are answered we might be able to help. If it is a mobile device, please move this thread to the "Embedded and Mobile" forum.
      Greetz

      Greetz, Jeroen

      1 Reply Last reply
      0
      • U Offline
        U Offline
        ududsha
        wrote on last edited by
        #3

        Hi Jeroent,
        Thanks for your quick reply.
        Actually My app is for Photobooth application.
        When someone clicks the button and need to wait for a few seconds and he/she can pose on camera while the camera is getting ready. I am going to create this app using QtQuick (or preferred) and it is a Desktop application.
        I hope to connect the hardware button through USB or any other easy way. We can use mouse button or keyboard key instead of such a button.
        Thanks!

        1 Reply Last reply
        0

        • Login

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