Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    General and Desktop
    os x framework linker errors
    2
    3
    1123
    Loading More Posts
    • 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
      kenchan last edited by kenchan

      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 Reply Quote 0
      • patrikd
        patrikd last edited by

        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 Reply Quote 1
        • K
          kenchan @patrikd last edited by kenchan

          @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 Reply Quote 0
          • First post
            Last post