Shared Libraries Fail to Load in Mac OS



  • Hi-

    I am having trouble debugging my application's ability to load Qt Plugins. I created the application and plugin using the steps outlined in "How to Create Qt Plugins : The Lower-Level API: Extending Qt Applications."

    I have two separate projects, the application and the plugin. The projects build on Linux and Mac OS. On linux the application successfully loads my plugins. On Mac OS the QPluginLoader gives the following error string:

    "The file '/Users/ethan/src/my-application-build-desktop/plugins/libMyPlugin.dylib' is not a valid Qt plugin."

    I welcome any suggestions for debugging this problem.

    Thanks.


Log in to reply
 

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