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. QT 5.12.12: Unknown module(s) in QT: serialPort

QT 5.12.12: Unknown module(s) in QT: serialPort

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 521 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.
  • J Offline
    J Offline
    Jean-Pierre Gervasoni
    wrote on last edited by
    #1

    Hello,

    I am currently building a program using QT5.12.12+msvc2017 on a windows machine. On my computer and at least one of my colleague, it compiles fine. On our Jenkins server, it does fail. It complains with "Unknown module(s) in QT: serialPort".
    On the Jenkins computer QT5.12.12 was installed using qt-opensource-windows-x86-5.12.12.exe. I can find Qt5SerialPort.lib under C:\5.12.12\lib and Qt5SerialPort.dll under C:\5.12.12\bin.

    Any idea ?

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

      Hi and welcome to devnet,

      Do you have a typo here ? It's serialport all lower case.

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

      J 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Do you have a typo here ? It's serialport all lower case.

        J Offline
        J Offline
        Jean-Pierre Gervasoni
        wrote on last edited by
        #3

        @SGaist
        How can I thank you ? It does work with :

        greaterThan(QT_MAJOR_VERSION, 4) {
        QT += serialport
        }

        The strange thing is why it was working with serialPort on my computer :). But it does not really matter.

        Again, thank you.!

        Best regards,

        Jean-Pierre

        SGaistS 1 Reply Last reply
        0
        • J Jean-Pierre Gervasoni has marked this topic as solved on
        • J Jean-Pierre Gervasoni

          @SGaist
          How can I thank you ? It does work with :

          greaterThan(QT_MAJOR_VERSION, 4) {
          QT += serialport
          }

          The strange thing is why it was working with serialPort on my computer :). But it does not really matter.

          Again, thank you.!

          Best regards,

          Jean-Pierre

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Jean-Pierre-Gervasoni said in QT 5.12.12: Unknown module(s) in QT: serialPort:

          @SGaist
          How can I thank you ? It does work with :

          Well, you did it in this message :-)

          Happy coding !

          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
          0
          • SGaistS SGaist has marked this topic as solved on

          • Login

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