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 Updated to NodeBB v4.3 + New Features

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.6k 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.
  • K Offline
    K Offline
    kenchan
    wrote on 15 Mar 2016, 05:45 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
    • P Offline
      P Offline
      patrikd
      wrote on 15 Mar 2016, 08:24 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 15 Mar 2016, 11:14
      1
      • P patrikd
        15 Mar 2016, 08:24

        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 15 Mar 2016, 11:14 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

        3/3

        15 Mar 2016, 11:14

        • Login

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