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. Macdeployqt problems
Qt 6.11 is out! See what's new in the release blog

Macdeployqt problems

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 2.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.
  • M Offline
    M Offline
    mirswith
    wrote on last edited by
    #1

    Hi, I am trying to deploy an osx app using macdeployqt however once my deployment is created and I try to run it I can an error that it can not find the Qt OpenGL frame work and I am assuming the other Qt frameworks as well once this error is solved. When I look at my .app package I can clearly see the Qt framework files so I am at a bit of a loss.

    Here is the osx error:

    Dyld Error Message:
    Library not loaded: QtOpenGL.framework/Versions/4/QtOpenGL
    Referenced from: /Users/myUser/Desktop/myApp.app/Contents/MacOS/../Frameworks/myLib.dylib
    Reason: image not found

    Another part of this which may be related is that for a debug build myLib.dylib must be in the MacOS folder to run yet when I package it it needs be in the Frameworks folder.

    Any ideas, on either front? Thanks.

    -=ben

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mirswith
      wrote on last edited by
      #2

      Can someone point me to a tool like the windows "Depends" for OSX? Maybe this will help me find a solution.

      Thanks.

      -=ben

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DenisKormalev
        wrote on last edited by
        #3

        I think that otool will help you. It is console tool.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mirswith
          wrote on last edited by
          #4

          Thanks, i'll give it a try.

          -=ben

          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