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 Serial Port
Forum Update on Monday, May 27th 2025

QT Serial Port

Scheduled Pinned Locked Moved Unsolved General and Desktop
serial portc++ qttimer threadcommand line
3 Posts 3 Posters 578 Views
  • 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.
  • A Offline
    A Offline
    ADR_PT
    wrote on 31 Aug 2021, 13:14 last edited by
    #1
    This post is deleted!
    J P 2 Replies Last reply 31 Aug 2021, 13:22
    0
    • A ADR_PT
      31 Aug 2021, 13:14

      This post is deleted!

      J Offline
      J Offline
      J.Hilk
      Moderators
      wrote on 31 Aug 2021, 13:22 last edited by
      #2

      @ADR_PT you need to give the qt event loop time to pass the serial stuff to the OS and react to the signals QSerialPort emit accordingly

      take a look here:
      https://forum.qt.io/topic/128343/qtserialport-weird-behaviours-on-macosx/7

      for a proper example


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      0
      • A ADR_PT
        31 Aug 2021, 13:14

        This post is deleted!

        P Offline
        P Offline
        Pablo J. Rogina
        wrote on 31 Aug 2021, 15:36 last edited by
        #3

        @ADR_PT you may want to start using QSerialPort the asynchronous (non-blocking) approach, by using signals & slots.
        Take a look at the serial terminal example

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        1

        2/3

        31 Aug 2021, 13:22

        • Login

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