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. Qt macdeploy on plugin

Qt macdeploy on plugin

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 525 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.
  • Roy44R Offline
    Roy44R Offline
    Roy44
    wrote on last edited by A Former User
    #1

    Hi,

    I've compiled plugin (dylib renamed in mrx)
    for that I use
    CONFIG += plugin no_plugin_name_prefix
    QMAKE_EXTENSION_SHLIB = $${MEDIACAD_EXT}
    My plugin use some of my dylib.

    so after qtmacdeploy link path are not correct
    ex:
    MdProfile.mrx use libMdCore.1.dylib libMdWidgets.1.dylib libMdModels.1.dylib
    but in tool -L MdProfile.mrx
    /Users/mediasoftsdev/Desktop/Mediacad2/build/MdCore/../debug/libMdCore.1.dylib (compatibility version 1.0.0, current version 1.0.0)
    /Users/mediasoftsdev/Desktop/Mediacad2/build/MdWidgets/../debug/libMdWidgets.1.dylib (compatibility version 1.0.0, current version 1.0.0)
    /Users/mediasoftsdev/Desktop/Mediacad2/build/MdModels/../debug/libMdModels.1.dylib (compatibility version 1.0.0, current version 1.0.0)

    So I would like to replace /Users/mediasoftsdev/Desktop/Mediacad2/build/MdCore/../debug/libMdCore.1.dylib by libMdCore.1.dylib

    What I have to do to have a correct path in qtmacdeploy ?
    thanks.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kegon
      wrote on last edited by
      #2

      macdeployqt has never been perfect for me; I always use a deploy script that runs it and then fixes any errors.

      You can fix the link errors using install_name_tool with the -change option.

      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