Results 1 to 7 of 7

Thread: GUI application for serial communication

  1. #1
    Join Date
    Mar 2011
    Posts
    35
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Windows

    Default GUI application for serial communication

    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

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: GUI application for serial communication

    If you really have no idea whatsoever, maybe follow a tutorial ?

  3. The following user says thank you to squidge for this useful post:

    jerkymotion (8th March 2011)

  4. #3
    Join Date
    Mar 2011
    Posts
    35
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: GUI application for serial communication

    the tutorial you reffered....http://www.androdna.com/programming/...utorial_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??

  5. #4
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: GUI application for serial communication

    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
    You are using windows, right (your profile pic) ?

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

  6. #5
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: GUI application for serial communication

    Quote Originally Posted by jerkymotion View Post
    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/3940...999#post180999

  7. #6
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: GUI application for serial communication

    Quote Originally Posted by jerkymotion View Post
    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...

  8. #7
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: GUI application for serial communication

    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/

Similar Threads

  1. Serial Port communication
    By mgurbuz in forum Qt Programming
    Replies: 12
    Last Post: 22nd January 2011, 03:38
  2. serial communication
    By klitsuk in forum Qt Programming
    Replies: 10
    Last Post: 24th September 2009, 02:21
  3. serial communication
    By klitsuk in forum Qt Programming
    Replies: 1
    Last Post: 10th March 2009, 16:22
  4. serial communication
    By semden in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2009, 10:57
  5. Serial Port Communication
    By soldstatic in forum Qt Programming
    Replies: 6
    Last Post: 22nd June 2006, 17:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.