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. I can't link to a third party framework on OS X
Forum Update on Monday, May 27th 2025

I can't link to a third party framework on OS X

Scheduled Pinned Locked Moved Solved General and Desktop
os xframeworklinker errors
3 Posts 2 Posters 1.5k Views
  • 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.
  • K Offline
    K Offline
    kenchan
    wrote on last edited by kenchan
    #1

    Hello,
    I am trying to link to a third party framework on Mac OS X 10.11.3, Xcode 7.2.

    The framework is the SketchUpAPI framework. I use these lines in my pro file...

    QMAKE_LFLAGS += ../../SDK_Mac_16-0-19913
    LIBS += -framework SketchUpAPI

    I get this error...
    ld: framework not found SketchUpAPI

    I get the same error when I use a full path to the directory. An Xcode project has no problem finding and linking to the same framework.

    Why would qmake not be able to find the framework? Does it not understand the structure of the framework, or is it something more simple perhaps?

    Any advice will be gratefully received.
    Many thanks.

    1 Reply Last reply
    0
    • patrikdP Offline
      patrikdP Offline
      patrikd
      wrote on last edited by
      #2

      hi kenchan,
      in my case i got it in working in that way:
      QMAKE_LFLAGS += -F /pathtoproject/iOS/Antwerpes.framework
      LIBS += -F /pathtoproject/iOS/ -framework Antwerpes
      best,
      patrik

      K 1 Reply Last reply
      1
      • patrikdP patrikd

        hi kenchan,
        in my case i got it in working in that way:
        QMAKE_LFLAGS += -F /pathtoproject/iOS/Antwerpes.framework
        LIBS += -F /pathtoproject/iOS/ -framework Antwerpes
        best,
        patrik

        K Offline
        K Offline
        kenchan
        wrote on last edited by kenchan
        #3

        @patrikd
        Thank your suggestion worked fine for my framework too.
        Wish I could give you a cartload of reps for that :-).

        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