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.
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.
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:
In your pro file.Qt Code:
INCLUDEPATH += /usr/local/include LIBS += -L/usr/local/lib -lwiringPiTo copy to clipboard, switch view to plain text mode
Bookmarks