Macdeployqt problems



  • 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



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

    Thanks.

    -=ben



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



  • Thanks, i'll give it a try.

    -=ben


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.