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. trying to deploy with macdeployqt and subdirs project.

trying to deploy with macdeployqt and subdirs project.

Scheduled Pinned Locked Moved Solved Installation and Deployment
4 Posts 3 Posters 369 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.
  • J Offline
    J Offline
    JoeJoe_000
    wrote on 8 Jun 2020, 15:49 last edited by JoeJoe_000 6 Aug 2020, 15:52
    #1

    Hello I'm attempting to deploy a subdirs project release on Mac Catalina. I can confirm i'm using the correct version macdeployqt for my Qt build, however when I try to run the executable/dmg i'm getting an error which i believe points to some of my dylib files as being missing. In my main .pro file i have used the .depends to point to my library.

    Crashed Thread: 0

    Exception Type: EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Exception Note: EXC_CORPSE_NOTIFY

    Termination Reason: DYLD, [0x1] Library missing

    Application Specific Information:
    dyld: launch, loading dependent libraries

    Dyld Error Message:
    Library not loaded: libTree_Core.1.dylib
    Referenced from: /Volumes/VOLUME/TreeView.app/Contents/MacOS/TreeView
    Reason: image not found

    Binary Images:
    0x10e1bd000 - 0x10e1d2ff7 +test.TreeView (0) <316CFA14-C20D-3EB6-B81F-3BDB28D50FB5> /Volumes/VOLUME/TreeView.app/Contents/MacOS/TreeView
    0x119539000 - 0x1195caeff dyld (750.5) <1F893B81-89A5-3502-8510-95B97B9F730D> /usr/lib/dyld

    My question is how do i add my .dylib file to the .dmg file and where must it be placed within the .dmg file?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JoeJoe_000
      wrote on 8 Jun 2020, 17:40 last edited by
      #3

      Hello SGaist, it looks like I was able to get it going. useing macdeploy using libpath=

      M 1 Reply Last reply 23 Sept 2023, 19:46
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 8 Jun 2020, 17:01 last edited by
        #2

        Hi,

        Did you check the content of the app bundle after the run of macdeployqt ?

        Did you try to increase the verbosity of macdeployqt to see if there was a message related to your libraries ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • J Offline
          J Offline
          JoeJoe_000
          wrote on 8 Jun 2020, 17:40 last edited by
          #3

          Hello SGaist, it looks like I was able to get it going. useing macdeploy using libpath=

          M 1 Reply Last reply 23 Sept 2023, 19:46
          0
          • J JoeJoe_000
            8 Jun 2020, 17:40

            Hello SGaist, it looks like I was able to get it going. useing macdeploy using libpath=

            M Offline
            M Offline
            Mayobyo Hassan
            wrote on 23 Sept 2023, 19:46 last edited by
            #4

            @JoeJoe_000 please post for us the script, how you set the ```
            libpath=

            Did you set the libpath to the dylib path in the build directory
            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