Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QtSerialPort with static Qt on Mac OS X
Qt 6.11 is out! See what's new in the release blog

QtSerialPort with static Qt on Mac OS X

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.7k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hey everyone,

    I finally built Qt5.2.1 statically under Mac OS X. Now I have an application witch needs the serialport module. If I try to build it with my static version of Qt I get "Unknown module(s) in QT: serialport". The module is not present in my static Qt build. I already tried building the serialport module seperately but this does not work. How do I compile Qt5 statically with the serialport module?

    I simply created the static version by
    @./configure -static
    make install@

    Thank you for an advice!

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cboles
      wrote on last edited by
      #2

      I had the same problem. In the qtserialport dir be sure to do the following:

      @qmake
      make
      sudo make install@

      I had forgotten to sudo the third step and wasn't looking at the output too carefully. The install phase needs to put some of the qtserialport library files in /usr/local that qmake is looking for when you try to do qt += serialport.

      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