Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. error: Project ERROR: Unknown module(s) in QT: serialport
Forum Updated to NodeBB v4.3 + New Features

error: Project ERROR: Unknown module(s) in QT: serialport

Scheduled Pinned Locked Moved Solved Qt 6
4 Posts 2 Posters 6.9k 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.
  • Roma13R Offline
    Roma13R Offline
    Roma13
    wrote on last edited by
    #1

    Hi, I'm a new fish in Qt. I have bumped into the error "error: Project ERROR: Unknown module(s) in QT: serialport".
    I googled it, many answers say Qt have not finish the serialport for Qt6 yet. But I found a version in maintenace tool.
    6d84f27a-ab66-419b-9c6b-2ab96930e433-image.png
    I have downloaded it, but I can't find it under my Qt documents(just in examples and docs which not helped) .
    I'm using Qt Creator 6.0.2 and kit 6.2.2 BTW.
    Thank you for cilcking in.

    Gojir4G 1 Reply Last reply
    0
    • Roma13R Roma13

      Hi, I'm a new fish in Qt. I have bumped into the error "error: Project ERROR: Unknown module(s) in QT: serialport".
      I googled it, many answers say Qt have not finish the serialport for Qt6 yet. But I found a version in maintenace tool.
      6d84f27a-ab66-419b-9c6b-2ab96930e433-image.png
      I have downloaded it, but I can't find it under my Qt documents(just in examples and docs which not helped) .
      I'm using Qt Creator 6.0.2 and kit 6.2.2 BTW.
      Thank you for cilcking in.

      Gojir4G Offline
      Gojir4G Offline
      Gojir4
      wrote on last edited by
      #2

      Hi @Roma13,

      First, you need to add the module in your pro of cmake file.
      pro: QT += serialport
      CMakeLists.txt: find_package(Qt6 REQUIRED SerialPort)

      Secondly, if you compile using kit 6.2.2, you probably need to download Qt Serial Port module for version 6.2.2 or using kit 6.2.3.

      1 Reply Last reply
      2
      • Roma13R Offline
        Roma13R Offline
        Roma13
        wrote on last edited by
        #3

        You are right. I download kit 6.2.3 and problem solved. Thank you, sir!

        Gojir4G 1 Reply Last reply
        0
        • Roma13R Roma13

          You are right. I download kit 6.2.3 and problem solved. Thank you, sir!

          Gojir4G Offline
          Gojir4G Offline
          Gojir4
          wrote on last edited by
          #4

          You're welcome ! Please don't forget to set the status as resolved. Thanks !

          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