PDA

View Full Version : Reading/writing a serial port through USB



jvwlong
27th June 2012, 23:24
Hello, I am working on a project where I have a small linux gumstix computer outputting simple serial lines of text through a USB cable. I need to be able to send the text through the serial connection and then i need to see the line of code that gets sent back through the connection. I have a couple of questions about doing this in Qt. First off I have seen a couple libraries for doing this, are there any differences between the libraries or in essence would any of them work for this application? Are there any super good tutorials out there for REAL beginners? I have never used Qt before and I am a bit lost, so even if I have the correct libraries I don't quite know where to begin in this project.

Thanks for any help!

-Jvwlong

kuzulis
28th June 2012, 07:47
Hi.

As for working with serial port I can advise QtSerialPort (http://qt-project.org/wiki/QtSerialPort).
This library is the most tech, constantly evolving and easy to use. With it comes the examples of its use.

If you have any questions while working with it - then ask me.

Ali Reza
28th June 2012, 11:09
excuse me
before posting a topic plz look for your issues in Qt help. it is great indeed.
have fun