How to implement Serial Communication In windows Xp 64 bit
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-
Re: How to implement Serial Communication In windows Xp 64 bit
HI,
some time ago I used QxtSerialPort.
It worked fine.
Re: How to implement Serial Communication In windows Xp 64 bit
Re: How to implement Serial Communication In windows Xp 64 bit
I used only QxtSerialDevice
Re: How to implement Serial Communication In windows Xp 64 bit
well, I´m new in QT and I don´t know how to use and install the component QSerialdivice someone know?
Re: How to implement Serial Communication In windows Xp 64 bit
Quote:
Originally Posted by
makoum
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
Re: How to implement Serial Communication In windows Xp 64 bit
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
Re: How to implement Serial Communication In windows Xp 64 bit
Quote:
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)
Quote:
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).