Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
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.
Can someone point me to a tool like the windows "Depends" for OSX? Maybe this will help me find a solution.
DenisKormalev last edited by
I think that otool will help you. It is console tool.
Thanks, i'll give it a try.