QextSerialport
-
I want to send/receive data through my serial port using QT. I downloaded the qextserialport code from the below site
code.google.com/p/qextserialport/
As qextserialport is an add-on, can anyone direct me how to use the code in my program for using serial port.Thank you
-
Read any readmes/ docs provided by the project.
You can also check out QtSerialPort, which will become part of Qt in v. 5.1 (it also works with Qt4, has a nice API and is easy to install).
-
if doesn't matter for you what library use i'd recommend you "qtserialport":http://qt.gitorious.org/qt/qtserialport
i cant tell you which is better but in my opinion qtserialport more advanced. -
I'm using here no problem!
I add the folder /qextserialport to the folder of my project:
@/MyAppProject
...
/qextserialport@And with qtcreator I open the PROJECT:
@
/MyAppProject/qextserialport/buildlib/buildlib.pro
@
Then I build the project. Well Now we have the lib necessary.Again on the "MyAppProject", I add this on the "MyAppProject.pro":
@
CONFIG += extserialportinclude(qextserialport/src/qextserialport.pri)
@Now you are able to use the qextxserialport!
@
#include <qextserialport.h>
....
QextSerialPort* portaSerial = new QextSerialPort();
@ -
I can send a copy for you!
I got the files from GIT!git clone https://code.google.com/p/qextserialport/
If you need, contact me and I send you the files.