[Qt-interest] Reading data from serial port

Kishore kitts.mailinglists at gmail.com
Sat Dec 4 10:40:26 CET 2010


On Saturday 04 Dec 2010 5:25:19 am Mandaya Prakash wrote:
> Hi,
> I am reltively new to Qt using some 6 month.
>  i am using Qt 4.6 for my application which meant to run on Windows and Linux.
> I am having a problem of reading data from USB port, I dont see any specialized class in QT to do this, but I found one library which uses qt to do this QextSerialPort. I am not sure if this is right lib or not for my purpose can any one please help.

Since you mention QExtSeralPort, i assume that you intend to work with serial ports and nit really USB. The serial port may be a virtual port provided over USB.
Qt itlself does not provide any means to deal with serial or USB hardware. You will need to depend on other libraries such as QExtSeralPort for serial ports and perhaps libusb for USB.

> Do I need to use some other Windows specific library(dll) also to communicate with USB? 
> How do I do the same in Linux?
> 
> Can any one please point me to some example available or any tutorial type of thing which can help me doign this?

-- 
Cheers!
Kishore



More information about the Qt-interest-old mailing list