Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. RS485 with qt version greater or equal with 6
Forum Updated to NodeBB v4.3 + New Features

RS485 with qt version greater or equal with 6

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 179 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.
  • C Offline
    C Offline
    Costica
    wrote on last edited by
    #1

    I have to interface a Qt application with some devices by RS485, I learnt that this has support for serial communication and I found a lot of articles about it, but when I try to use #include QSerialPort they complain that this is not available. Yes most of examples are about Qt 5 and I use Qt 6.4.1.

    What is the point about this library. What are the steps needed to follow for accomplish a such communication?

    I want to collect information from devices that communicate by MODBUS by RS485.

    Christian EhrlicherC 1 Reply Last reply
    0
    • C Costica

      I have to interface a Qt application with some devices by RS485, I learnt that this has support for serial communication and I found a lot of articles about it, but when I try to use #include QSerialPort they complain that this is not available. Yes most of examples are about Qt 5 and I use Qt 6.4.1.

      What is the point about this library. What are the steps needed to follow for accomplish a such communication?

      I want to collect information from devices that communicate by MODBUS by RS485.

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Costica said in RS485 with qt version greater or equal with 6:

      #include QSerialPort they complain that this is not available.

      Because you did not install the QtSerialPort module.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      3

      • Login

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