PDA

View Full Version : GUI application for serial communication



jerkymotion
8th March 2011, 10:54
Need help to with code!!!
please provide me detail code for starting serial port communication using GUI based application...
I have downloaded the qextserialport...and linked to my .pro files by
INCLUDEPATH += C:\qextserialport\
Now I have got no idea whatsoever how to do the job since I am a Newbie to Qt creator

squidge
8th March 2011, 11:59
If you really have no idea whatsoever, maybe follow a tutorial (http://www.androdna.com/programming/QtTutorial/tutorial_1.html) ?

jerkymotion
8th March 2011, 14:19
the tutorial you reffered....http://www.androdna.com/programming/QtTutorial/tutorial_1.html
explains......
The normal procedure for installing this library is to download (use CVS to get the Qt4 version) and compile it (at a DOS prompt, type qmake and then make). This will compile the library and generate a dll.
but how??
now how to so this??

stampede
8th March 2011, 14:25
You can download precompiled version for Windows, so you don't have to build it yourself.
There is nice explanation on the library site, here you'll find how to write example app using this library: link (http://www.androdna.com/programming/QtTutorial/tutorial_3.html)
You are using windows, right (your profile pic) ?

But first of all - do you know how to use external library with Qt project ?

schnitzel
8th March 2011, 17:29
Need help to with code!!!
please provide me detail code for starting serial port communication using GUI based application...
I have downloaded the qextserialport...and linked to my .pro files by
INCLUDEPATH += C:\qextserialport\
Now I have got no idea whatsoever how to do the job since I am a Newbie to Qt creator

Please don't double post:
http://www.qtcentre.org/threads/39408-making-GUI-for-serial-port-communication-using-qt-creator?p=180999#post180999

squidge
8th March 2011, 19:30
but how??
now how to so this??Keep reading. "The quick way to install the library is to download a precompiled version for Windows XP.". It even includes a link to download the precompiled version...

schnitzel
8th March 2011, 20:00
by the way... qextserialport has moved to googlecode:
http://code.google.com/p/qextserialport/

there is a note on the sourceforge project home page:
http://sourceforge.net/projects/qextserialport/