hi I am using windows 7
I am beginner to qt
I want to make GUI for serial communication with serial port ......I have completely no idea how to make it.....
please provide me detail information about this
hi I am using windows 7
I am beginner to qt
I want to make GUI for serial communication with serial port ......I have completely no idea how to make it.....
please provide me detail information about this
Hi,
you might want to have a look at http://code.google.com/p/qextserialport/
This is a Qt extension library to access the serial port on Windows and Unix.
Basically your steps will be the same as with any Qt application: You can define the UI with QtCreator, and then implement the behavior in C++ by connecting signals to slots - the qextserialport library provides a couple of signals which you can use to react on data received from the serial port. In any case, if you are really new to Qt, you should definitely start with working through one of the many tutorials available on the net - start with implementing a small demo application, and add the serial communication once you are more comfortable with Qt.
If you have questions specifically on qextserialport, I might be able to help - I am using it in a current project.
Thanks,
Andreas
jerkymotion (7th March 2011)
I would like to start from very basics.......how to include library for serial port .......
First of all I would like to start with how to include the external serial port class...(in .pro file) and basic commands for serial port...
then after that i would like to write some data in serial port with help of GUI.....
please help
jerkymotion,
If you do not mind a license - something I would advise you to use instead of QextSerialPort - QSerialDevice:
http://gitorious.org/qserialdevice/q...e/trees/master
QextSerialPort more than a year is not supported and not updated.
QSerialDevice - a modern library and have more opportunities, well-documented.
For example, the construction of GUI in the repository of source code is a simple example in the: /test/guiapp.
PS: My advice - forget about QextSerialPort.
jerkymotion (7th March 2011)
jerkymotion (8th March 2011)
ok thanks
I don't mind using any liibrary but it must be simple to link or install ......for a people of my level ......
please help me in linking libraries and class of serial port or whatever....because I've no Idea what so ever
I would be glad to recieve help from you please help me how to build the serial port class in qt creator ...in details..
Last edited by jerkymotion; 7th March 2011 at 17:45.
The restriction of GPL for QSerialDevice kills it for me on many projects. Luckily, there's also QSerialPort, which is released under LGPL -
http://www.inbiza.com/labs/2010/10/2...-port-library/
http://gitorious.org/inbiza-labs/qserialport
jerkymotion (8th March 2011)
Bookmarks