Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QPushButton to control an external Led

    Mobile and Embedded
    2
    2
    424
    Loading More Posts
    • 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
      sush last edited by

      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 Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • First post
          Last post