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. About qt5 serialport class
Forum Updated to NodeBB v4.3 + New Features

About qt5 serialport class

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 671 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.
  • D Offline
    D Offline
    doodle
    wrote on last edited by
    #1

    I have a usb-to-serial PL2303, I hope serial port class auto detect it and add or delete it at combobox when I insert or pull out. What I want to know is how to AUTO set the signal to my slot when this usb device insert or pull out.

    1 Reply Last reply
    0
    • VRoninV VRonin

      QSerialPort is an I/O device, it has nothing to do with your OS detecting new hardware. you can use libusb to detect plug events. see an example here

      D Offline
      D Offline
      doodle
      wrote on last edited by
      #3

      @VRonin THANK YOU!

      1 Reply Last reply
      0
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #2

        QSerialPort is an I/O device, it has nothing to do with your OS detecting new hardware. you can use libusb to detect plug events. see an example here

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        D 1 Reply Last reply
        2
        • VRoninV VRonin

          QSerialPort is an I/O device, it has nothing to do with your OS detecting new hardware. you can use libusb to detect plug events. see an example here

          D Offline
          D Offline
          doodle
          wrote on last edited by
          #3

          @VRonin THANK YOU!

          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