PDA

View Full Version : serial port communiction



jagadish
7th July 2007, 10:56
hi
am newbie to Qt. am working on Qt4.1.1. on winXP. i have to develop an application based on serial port communication. I downloaded qextserialport-1.1.tar. how shouls i use this. how can i use the classes and function of serial port. plz send on sample program.
thanks
Jagadish

jpn
7th July 2007, 11:14
What have you tried so far? Did you read the docs (http://qextserialport.sourceforge.net/qextserialport-1.1.x/)? Most of the documented methods contain example code snippets.

jagadish
7th July 2007, 11:55
thanks for ur help
i have 1 doubt. is it necessary to configure qextserialport-1.1.tar. if yes plz tell me the procedure.

jpn
7th July 2007, 12:36
i have 1 doubt. is it necessary to configure qextserialport-1.1.tar. if yes plz tell me the procedure.
You can build QextSerialPort like any other Qt project. A qmake project (.pro) file is shipped so type:


> qmake
> make

to build the library.

jpn
7th July 2007, 13:04
Oh, and in case the actual problem is how to extract qextserialport-x.y.tar.gz:

To extract .tar and .tar.gz files on Windows 9x/NT/2000/ME/XP use PowerArchiver 6.1 (http://www.sfsu.edu/ftp/win/utils/) (freeware) or 7-zip (http://www.7-zip.org/) (freeware) or Winzip (http://www.winzip.com/) (commercial)