[Interest] Deploying a Mac OS X plugin bundle with Qt Frameworks
Nuno Santos
nunosantos at imaginando.pt
Thu May 28 13:42:23 CEST 2015
Hi,
I’m building a plugin bundle to be loaded by an host app. I’m currently able to build the plugin bundle and load it on the host program, however, when I use macdeployqt to put the necessary Frameworks inside the bundle, the host doesn’t load it anymore with the following error:
Library not loaded: @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui
Referenced from: /Users/nsantos/Dropbox/workspace/drc/vstbuild/64/audiolab.vst/Contents/MacOS/audiolab
Reason: image not found
Library not loaded: @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui
Referenced from: /Users/nsantos/Dropbox/workspace/drc/vstbuild/64/audiolab.vst/Contents/MacOS/audiolab
Reason: image not found
By the way, these are my qmake settings:
macx:{
CONFIG += plugin
QMAKE_LFLAGS_PLUGIN -= -single_module -dynamiclib
QMAKE_LFLAGS_PLUGIN += -bundle
QMAKE_POST_LINK = mv -f $(TARGET) $$TARGET
OTHER_FILES += Info.plist
}
Does anyone know how to solve this problem?
Thanks,
Nuno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150528/f7cbd78c/attachment.html>
More information about the Interest
mailing list