I want to send/receive data through my serial port using QT. I downloaded the qextserialport code from the below site
As qextserialport is an add-on, can anyone direct me how to use the code in my program for using serial port.
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).
I read the readme file. But I am confused with the procedure, How to include the qextserialport in qmake project file
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:
And with qtcreator I open the PROJECT:
Then I build the project. Well Now we have the lib necessary.
Again on the "MyAppProject", I add this on the "MyAppProject.pro":
CONFIG += extserialport
Now you are able to use the qextxserialport!
QextSerialPort* portaSerial = new QextSerialPort();
understood my explanation?
Got your explanation!!
Thanks so much
But I couldn't find qextserialport/buildlib/buildlib.pro in download
Will I be getting a .so file
I can send a copy for you!
I got the files from GIT!
If you need, contact me and I send you the files.