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. how to read and fire a gpio using qt!
QtWS25 Last Chance

how to read and fire a gpio using qt!

Scheduled Pinned Locked Moved Solved QML and Qt Quick
10 Posts 5 Posters 2.5k 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.
  • R Offline
    R Offline
    Rosimar
    wrote on last edited by
    #1

    Hello everyone, everything good?

    Could anyone help me with how can I do to trigger or read a state from a gpio using qt?
    If there is any simple example I will be very grateful !!

    J.HilkJ 1 Reply Last reply
    0
    • R Rosimar

      Hello everyone, everything good?

      Could anyone help me with how can I do to trigger or read a state from a gpio using qt?
      If there is any simple example I will be very grateful !!

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @Rosimar
      gpis of what device ? Raspberry Pi ?

      Anyway look for c oder c++ libs and include them in your project. Qt is a c++ framework so any c and c++ libs can (very) easily be included.


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      2
      • R Offline
        R Offline
        Rosimar
        wrote on last edited by
        #3

        It is not raspberry!

        não é raspberry!

        Utilizo uma placa de um fabricante específico!! "santino Lt"Garz e fricke "

        aha_1980A Pablo J. RoginaP 2 Replies Last reply
        0
        • R Rosimar

          It is not raspberry!

          não é raspberry!

          Utilizo uma placa de um fabricante específico!! "santino Lt"Garz e fricke "

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by aha_1980
          #4

          @Rosimar you will need to provide some more information. We have no crystall balls!

          So which device is that exactly? Which operating system are you running? How can you control the GPIOs (documentation)?

          Regards

          Qt has to stay free or it will die.

          1 Reply Last reply
          3
          • R Offline
            R Offline
            Rosimar
            wrote on last edited by
            #5

            Sorry for my inexperience!
            The system I am using is linux!

            I need to monitor my entries every time a button is pressed!
            I would like to know how I can do this using qt!

            1 Reply Last reply
            0
            • R Rosimar

              It is not raspberry!

              não é raspberry!

              Utilizo uma placa de um fabricante específico!! "santino Lt"Garz e fricke "

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #6

              @Rosimar said in how to read and fire a gpio using qt!:

              santino Lt"Garz e fricke "

              It looks like this could be your device...

              You could have at least provided the link to help the community help you

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              2
              • V Offline
                V Offline
                vladstelmahovsky
                wrote on last edited by
                #7

                Hi

                I've created a library to manage that
                https://github.com/vladest/qtgpio
                there is a few examples as well

                Pablo J. RoginaP 1 Reply Last reply
                3
                • V vladstelmahovsky

                  Hi

                  I've created a library to manage that
                  https://github.com/vladest/qtgpio
                  there is a few examples as well

                  Pablo J. RoginaP Offline
                  Pablo J. RoginaP Offline
                  Pablo J. Rogina
                  wrote on last edited by
                  #8

                  @vladstelmahovsky thank you for sharing your work, although OP has said:

                  não é raspberry!

                  Device it's not a RPi...

                  Upvote the answer(s) that helped you solve the issue
                  Use "Topic Tools" button to mark your post as Solved
                  Add screenshots via postimage.org
                  Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                  aha_1980A 1 Reply Last reply
                  0
                  • Pablo J. RoginaP Pablo J. Rogina

                    @vladstelmahovsky thank you for sharing your work, although OP has said:

                    não é raspberry!

                    Device it's not a RPi...

                    aha_1980A Offline
                    aha_1980A Offline
                    aha_1980
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @Pablo-J.-Rogina But the OP refuses to give detailed information either...

                    Qt has to stay free or it will die.

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      Rosimar
                      wrote on last edited by
                      #10

                      This is link of my device !
                      https://www.garz-fricke.com/fileadmin/imported_files/IA-0014R_GF_SANTINO_LT_5_BX_PCT_V1.1_Manual.pdf

                      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