Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Applications using the serial port?
Qt 6.11 is out! See what's new in the release blog

Qt Applications using the serial port?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 7.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello Qt forum!

    I am a Windows .net C# programmer and have recently discovered the joys of c++ with Qt. I do have a good solid backround in ANSI c and c++ with the Win32 API and MFC but I still find MFC to be ugly and unintuituve so I avoid it like the plague! I had therefore kind of abandoned c++.

    But now that I have discovered Qt I would love to delve deeper into it and rediscover c++ as a valuable language to develop fast native graphical applications, particularly in a platform independant manner (would love to start developing on Linux!)

    My question is:

    I am a low level system developer and often have to develop socket and serial port applications but I am unsure how to interact with the serial port using Qt?

    I have done a bit of an internet search and am aware of a few 3rd party Qt projects (QSerialDevice) and also note that there is an official Qt serial port class soon to be available in Qt5 (QtSerialPort) but I am not sure how to get access to it and use it from the repositories (git respositories?)

    Could somebody please describe how I can get hold of this QtSerialPort class and perhaps point me to a simple tutorial on how to use it?

    Many thanks

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qxoz
      wrote on last edited by
      #2

      Look at:
      "http://qt-project.org/wiki/QtSerialPort":http://qt-project.org/wiki/QtSerialPort
      and download here:
      "https://qt.gitorious.org/qtplayground/qtserialport/archive-tarball/master":https://qt.gitorious.org/qtplayground/qtserialport/archive-tarball/master

      package include some examples, for start point.

      also you can use:
      "http://code.google.com/p/qextserialport/":http://code.google.com/p/qextserialport/

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kuzulis
        Qt Champions 2020
        wrote on last edited by
        #3

        Note: For QtSerialPort also added support/compliant to the Qt4.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved