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. Qserialport and QThread
Forum Updated to NodeBB v4.3 + New Features

Qserialport and QThread

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 167 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.
  • Q Offline
    Q Offline
    QuocKhanh
    wrote on last edited by
    #1

    can i connect qserialport from main to thread
    I tried and it didn't work

    C 1 Reply Last reply
    0
    • Q QuocKhanh

      can i connect qserialport from main to thread
      I tried and it didn't work

      C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      @QuocKhanh Yes, QObject::connect() can make cross-thread connections.

      Why you would want to do this with QSerialPort, or what you have done that "didn't work", would have to be explained by you.

      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