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

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 last edited by
    #1
    This post is deleted!
    J.HilkJ Pablo J. RoginaP 2 Replies Last reply
    0
    • A ADR_PT

      This post is deleted!

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on 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

        This post is deleted!

        Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on 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

        • Login

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