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 build libqwt.dylib on MAC
Forum Updated to NodeBB v4.3 + New Features

Can't build libqwt.dylib on MAC

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 476 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.
  • L Offline
    L Offline
    leinad
    wrote on last edited by
    #1

    Hello,

    I posted this question on qtCentre.org but no one seems to have an answer. I tried googling but couldn't find a valid solution for my problem. Very simply I downloaded qwt-6.1.5.

    I extracted the tar file.
    qmake qwt.pro
    make
    sudo make install

    All I get is the libqwt_designer_plugin.dylib. I need the libqwt.dylib so I can include it in my project file. The above commands worked fine on Windows and CentOS but for some reason not on MAC. I tried including the designer library but I keep getting "Undefined Symbols for architecture x86_64". I really should be using the qwt lib since I'm not building custom widgets.

    Any idea why I'm not getting the qwt library built? I'm running on Catalina 10.15.7. Also using clang 10 and xcode 10.3 if that makes a difference.

    Thanks in advance.

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

      Hi,

      Which version of Qt are you using ?
      How did you install it ?
      Do you have any warning / message coming on the console ?

      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
      • L Offline
        L Offline
        leinad
        wrote on last edited by
        #3

        Qt 5.15 but I don't think it has to do anything with Qt. I'm building the qwt libraries. There were no warnings or errors.

        See above how I built and installed the libraries, same as CentOS.
        Download the 6.1.5 qwt tar file.
        Extract the tar file
        qmake qwt.pro
        make
        sudo make install

        That is it. I get one library libqwt_designer_plugin.dylib but not libqwt.dylib which is what I need.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leinad
          wrote on last edited by
          #4

          Any help please?

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

            Sorry, I haven't had any trouble building it here. macOS is 10.13.6 with Xcode 10 as well.
            Note that if you get the designer plugin, it means that the qwt.framework was created otherwise the plugin can be linked.

            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

            • Login

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