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. [Moved] link against .dylib mac
Qt 6.11 is out! See what's new in the release blog

[Moved] link against .dylib mac

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 5.1k 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

    I try to link against a .dylib in mac and I just can't succeed. I tried

    @
    LIBS+= -L$${PATH_TO_MY_LIB} -l$${MY_LIB}
    LIBS+= $${PATH_TO_MY_LIB}/lib$${MY_LIB}.dylib
    @

    but otool doesn't find it and my app doesn't start.

    Ps: My application is a bundle

    1 Reply Last reply
    0
    • lorn.potterL Offline
      lorn.potterL Offline
      lorn.potter
      wrote on last edited by
      #2

      Have you read this?

      "Deploying an Application on Mac OS X":http://doc.qt.nokia.com/latest/deployment-mac.html

      Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
      Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Did you copy your lib to the bundle?

        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