Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QPushButton to control an external Led

QPushButton to control an external Led

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 558 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.
  • S Offline
    S Offline
    sush
    wrote on last edited by
    #1

    I have a .cpp file to be executed when I click the pushbutton which could possibly be done through signals and slots, now I'm new to qtcreator and hence not getting the idea how to do it, please help me for the same. The main purpose is to on/off a led connected to a beaglebone black through this pushbutton.

    Do not wait to innovate.

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi!
      You should first read this: http://doc.qt.io/qt-5.5/signalsandslots.html
      It explains how signals/slots work and contains examples.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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