PDA

View Full Version : How to implement Serial Communication In windows Xp 64 bit



mukeshtalks
23rd September 2010, 13:18
Hello All,

I am very new to QT framework. I installed Qt Creator 2.0.0 Based on Qt 4.7.0 (32 bit) on Windows XP 64 bit edition. Can anyone help me how i can implement the Serial port communication in Qt. Is there any library written in C++ for Serial port communication in Windows XP 64 bit.

Regards
Mukesh-

mcosta
23rd September 2010, 17:54
HI,

some time ago I used QxtSerialPort (http://qextserialport.sourceforge.net/).
It worked fine.

kuzulis
24th September 2010, 05:15
Or QSerialDevice (http://qt-apps.org/content/show.php/QSerialDevice?content=112039)

mcosta
27th September 2010, 08:20
I used only QxtSerialDevice

makoum
3rd October 2011, 18:24
well, I´m new in QT and I don´t know how to use and install the component QSerialdivice someone know?

kuzulis
3rd October 2011, 19:35
well, I´m new in QT and I don´t know how to use and install the component QSerialdivice someone know?
It does not need to install. QSerialDevice (as well as other libraries) - it's just a class library.
To use these classes, you can not compile the library - and connect directly via *. pri, what is the easiest way.

See examples /test/guiapp

PS
1. There may be a problem in 64 bit Windows, when you open the port, if Qt4 is compiled for 64 bit.
But if you use 32 bitQt4 to 64 bit Windows - then no problem.
2. Current stable version here (http://gitorious.net/qserialdevice/qserialdevice/archive-tarball/master)

abhijsj
18th October 2011, 11:15
Hey..
Even I have to implement serial communication o Qt.
I have downloaded the library but i am unable to compile them because on make it is giving error libudev.h no such file or directory.
Is there some other way that i can use this library..

Thanks In Advance
Abhishek

kuzulis
18th October 2011, 13:20
I have downloaded the library but i am unable to compile them because on make it is giving error libudev.h no such file or directory.
Install package libudev-dev (or something like that)


Is there some other way that i can use this library..
Disable in the project file, the assembly of class SerialDeviceEnumerator. Then the library has build only with the class AbstractSerial (if you do not need SerialDeviceEnumerator).