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
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to