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. Raspberry pi 3 GPIO control using Qt embedded

Raspberry pi 3 GPIO control using Qt embedded

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 3.4k 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
    sam08016
    wrote on 7 Sept 2017, 13:22 last edited by
    #1

    Hi,

    I am new to Qt embedded. I have successfully installed Qt Raspberry image using Qt for device on the SD card.
    Can anyone please let me know if there is Qt example that controls the GPIOs of Raspberry?

    Thanks

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Pablo J. Rogina
      wrote on 7 Sept 2017, 13:59 last edited by Pablo J. Rogina 9 Jul 2017, 13:59
      #2

      @sam08016 I'm not aware of such examples, however I do believe you may want to take a look at wiringPi, a library that will help you on controlling Raspberry's GPIOs

      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
      0
      • S Offline
        S Offline
        sam08016
        wrote on 7 Sept 2017, 14:12 last edited by
        #3

        Thank you for your response. Wiringpi goes into Raspberry pi?

        In this case, I have installed Boot2Qt on raspberry and using Qt embedded setup to deploy application to Raspberry pi. So, I do not have the provision to install wiringpi to raspberry.

        1 Reply Last reply
        0
        • P Offline
          P Offline
          Pablo J. Rogina
          wrote on 7 Sept 2017, 14:24 last edited by
          #4

          @sam08016 All the libraries your application depends on must be available to it at runtime :-) so yes, wiringPi must be deployed in your RPi device.
          I'm not familiar with Qt Embedded deploy feature but I guess you need to provide wiringPi library to such process in order for the library to be bundled and deployed with all the stuff related to your application

          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
          0

          1/4

          7 Sept 2017, 13:22

          • Login

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