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. QT Device creation - wiringpi

QT Device creation - wiringpi

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 708 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.
  • G Offline
    G Offline
    gpio
    wrote on last edited by
    #1

    Hello,

    first i started to develop whit qt but without qt device creation.
    Back then raspian was installed. I could use wiringpi easyly.

    Since i work with Flash boot to QT device aka QT device creation i cant install wiringpi.
    first i wanted to download git on the device to get the wiringpi libary. This doesnt work.
    So i copyed the needed files to the root directory.

    Then i used chmod +x
    and tryed to ./build but without sudo this doesnt work.
    So is there any description how to install wiringpi on the device?

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

      Hi and welcome to devnet,

      As a workaround, why not grab the package from raspbian and extract the library + headers that you need ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        WiringPi is not so great as gpio library for Raspberry Pi.
        I suggest you to use pigpio.
        Using pigpio or WiringPi you can download and compile them on your Linux i386 machine to write your program.
        In your i386 machine you haven't got gpios but you can write the program without to manage them because using a gpio is elementary.
        When your program is complete you can compile and put the libraries in a yours software subfolder.

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        1 Reply Last reply
        1

        • Login

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