Open a serial port on Ubuntu SO
-
Hi guys,
How can I open a serial port and communication on Ubuntu using Qt-Creator? Is already there a functionalities or QtWidget that can do that?
Thks in advance.
-
You have to include the libraries for using the serial port communication and write the instructions like a classical C++ program.
Moreover, there is this library "QxtSerialPort":http://code.google.com/p/qextserialport/, but I've never used.
It's already been discussed "here":http://qt-project.org/forums/viewthread/9986 -
Qt-Creator is just an IDE. And QtWidget is an GUI element... For Serial communication you can use 3rd Qt libraries like "QextSerialPort":http://code.google.com/p/qextserialport/...
-
bq. Qt libraries like QextSerialPort [code.google.com]…
Or better - "QtSerialPort":http://qt-project.org/wiki/QtSerialPort
because QtSerialPort more functional and easier.
-
HI
you can see "http://yengal-marumugam.blogspot.com/2011/07/serial-port-manipulation-in-c-linux.html".
you will need that use posix api in your app.i do this in windows in my app i use windows.h and ... .
serial port and other depends on platform .of course Qt-Creator is just an IDE ;)
I hope that helped
-
If your problem solved please add [Solved] tag