Results 1 to 4 of 4

Thread: Serial Programming

  1. #1
    Join Date
    Aug 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Serial Programming

    Hi all,
    I am trying to develop a serial communication based GUI application.
    I have succeeded in sending data from my GUI app...
    but i am facing difficulty in receiving the data.....
    I have done the same app in windows using MSCOMM which generates an event whenever there is a data to be received....

    If there is a way out in QT please let me know....
    Also, i want to display the same on the "textedit" box...... please guide me how to do this

    i am a newbie in this arena..so please guide my way out

    thanks,
    pavan

  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: Serial Programming

    How are you receiving the data?

  3. #3
    Join Date
    Jan 2009
    Location
    Russia
    Posts
    309
    Thanks
    2
    Thanked 43 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Serial Programming

    2 pavan,

    use for Qt this library:
    1. qextserialport

    or

    2. qserialdevice

    --

    PS: If you are not important license, then QSerialDevice (IMHO) - is preferable.

  4. #4
    Join Date
    Aug 2010
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Serial Programming

    Quote Originally Posted by fatjuicymole View Post
    How are you receiving the data?
    I was successful in sending the data....
    but i dont know how to receive data....

    so far i was using POSIX libraries.......

    i have to try QSerialDevice....

    pavan

Similar Threads

  1. serial programming help
    By eva2002 in forum Qt Programming
    Replies: 2
    Last Post: 22nd January 2010, 12:45
  2. Serial Programming with QT
    By ape in forum Newbie
    Replies: 3
    Last Post: 24th December 2007, 21:33
  3. serial communication programming
    By jagadish in forum Qt Programming
    Replies: 1
    Last Post: 30th August 2007, 08:47
  4. serial port programming in qt
    By sar_van81 in forum Qt Programming
    Replies: 46
    Last Post: 13th June 2007, 13:27
  5. Replies: 12
    Last Post: 23rd March 2007, 10:23

Tags for this Thread

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.