Results 1 to 8 of 8

Thread: How to implement Serial Communication In windows Xp 64 bit

  1. #1
    Join Date
    Sep 2010
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default How to implement Serial Communication In windows Xp 64 bit

    Hello All,

    I am very new to QT framework. I installed Qt Creator 2.0.0 Based on Qt 4.7.0 (32 bit) on Windows XP 64 bit edition. Can anyone help me how i can implement the Serial port communication in Qt. Is there any library written in C++ for Serial port communication in Windows XP 64 bit.

    Regards
    Mukesh-

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to implement Serial Communication In windows Xp 64 bit

    HI,

    some time ago I used QxtSerialPort.
    It worked fine.
    A camel can go 14 days without drink,
    I can't!!!

  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: How to implement Serial Communication In windows Xp 64 bit


  4. #4
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to implement Serial Communication In windows Xp 64 bit

    I used only QxtSerialDevice
    A camel can go 14 days without drink,
    I can't!!!

  5. #5
    Join Date
    Oct 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: How to implement Serial Communication In windows Xp 64 bit

    well, I´m new in QT and I don´t know how to use and install the component QSerialdivice someone know?

  6. #6
    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: How to implement Serial Communication In windows Xp 64 bit

    Quote Originally Posted by makoum View Post
    well, I´m new in QT and I don´t know how to use and install the component QSerialdivice someone know?
    It does not need to install. QSerialDevice (as well as other libraries) - it's just a class library.
    To use these classes, you can not compile the library - and connect directly via *. pri, what is the easiest way.

    See examples /test/guiapp

    PS
    1. There may be a problem in 64 bit Windows, when you open the port, if Qt4 is compiled for 64 bit.
    But if you use 32 bitQt4 to 64 bit Windows - then no problem.
    2. Current stable version here

  7. #7
    Join Date
    Oct 2011
    Posts
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: How to implement Serial Communication In windows Xp 64 bit

    Hey..
    Even I have to implement serial communication o Qt.
    I have downloaded the library but i am unable to compile them because on make it is giving error libudev.h no such file or directory.
    Is there some other way that i can use this library..

    Thanks In Advance
    Abhishek

  8. #8
    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: How to implement Serial Communication In windows Xp 64 bit

    I have downloaded the library but i am unable to compile them because on make it is giving error libudev.h no such file or directory.
    Install package libudev-dev (or something like that)

    Is there some other way that i can use this library..
    Disable in the project file, the assembly of class SerialDeviceEnumerator. Then the library has build only with the class AbstractSerial (if you do not need SerialDeviceEnumerator).

Similar Threads

  1. Windows programming in Qt (serial communication)
    By bnilsson in forum General Programming
    Replies: 17
    Last Post: 9th February 2010, 18:17
  2. serial communication
    By klitsuk in forum Qt Programming
    Replies: 10
    Last Post: 24th September 2009, 01:21
  3. serial communication
    By klitsuk in forum Qt Programming
    Replies: 1
    Last Post: 10th March 2009, 15:22
  4. serial communication
    By semden in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2009, 09:57
  5. serial communication programming
    By jagadish in forum Qt Programming
    Replies: 1
    Last Post: 30th August 2007, 07:47

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.