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. Can't Get Static Qt Build with Qt5SerialPort, error: Unknown module(s) in QT: += serialport
Qt 6.11 is out! See what's new in the release blog

Can't Get Static Qt Build with Qt5SerialPort, error: Unknown module(s) in QT: += serialport

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 742 Views 2 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.
  • A Offline
    A Offline
    akism90
    wrote on last edited by akism90
    #1

    Hi all, trying to use serialport with a static build of qt and keep getting this error when running qmake or build.

    error: Unknown module(s) in QT: += serialport

    Using:
    QT creator 5.5.1
    Windows 7
    Commercial Licence
    QT Static build 5.13.0

    Things Attempted:
    Adding QT: += serialport in pro file
    Building Qt5SerialPort on its own
    Adding INCLUDEPATH with path to the built Qt5SerialPort
    Adding built Qt5SerialPort Libs to pro file
    Adding built Qt5SerialPort to static qtbase's include and libs folders and rebuilding static qt with jom
    Tried other things that have been demonstrated to work on solved questions:
    https://forum.qt.io/topic/57299/project-error-unknown-module-s-in-qt-serialport/2
    ^^^done that step for step (kinda, i'm not using minGW cos commercial), didn't work

    Got a barebones test project with completely standard .pro file.

    Any assistance is greatly appreciated.

    Cheers

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kuzulis
      Qt Champions 2020
      wrote on last edited by kuzulis
      #2

      QT creator 5.5.1

      Are you from future?

      Commercial Licence

      In that case you can ask help directly from Qt service, instead of Qt community.

      A 1 Reply Last reply
      2
      • K kuzulis

        QT creator 5.5.1

        Are you from future?

        Commercial Licence

        In that case you can ask help directly from Qt service, instead of Qt community.

        A Offline
        A Offline
        akism90
        wrote on last edited by
        #3

        @kuzulis haha sorry 4.9.2, no idea how i got that number.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by SGaist
          #4

          Hi,

          Are you sure you built the qtserialport module as part of your static build ?

          Did you check the content of the lib folder of your build ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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