Results 1 to 2 of 2

Thread: wiringpi serial communication

  1. #1
    Join Date
    Jan 2016
    Posts
    7
    Thanks
    1
    Qt products
    Qt5

    Default wiringpi serial communication

    Hi,
    I am searching wiringpi serial example created with qt. Is there any reference project? I have to cross compile qt for my embedded system and i want to use wiringpi for serial . Or you can give me another solution, i am new on this work.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: wiringpi serial communication

    Wiringpi is a C library for GPIO acces on Raspberry Pi hardware. The examples can be found here: http://wiringpi.com/examples/
    Using this has nothing to do with Qt and requires only a working C compiler, which Raspbian provides.

    If you want to build a Qt program and have it use the library then you probably only need:
    Qt Code:
    1. INCLUDEPATH += /usr/local/include
    2. LIBS += -L/usr/local/lib -lwiringPi
    To copy to clipboard, switch view to plain text mode 
    In your pro file.

Similar Threads

  1. serial communication in linux,using c
    By lanmanck in forum Qt Programming
    Replies: 4
    Last Post: 29th September 2009, 13:14
  2. serial communication
    By klitsuk in forum Qt Programming
    Replies: 10
    Last Post: 24th September 2009, 01:21
  3. serial communication
    By klitsuk in forum Qt Programming
    Replies: 1
    Last Post: 10th March 2009, 15:22
  4. serial communication
    By semden in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2009, 09:57
  5. C++ Library for serial communication
    By dec0ding in forum General Programming
    Replies: 7
    Last Post: 8th July 2007, 18:18

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.