July 4, 2011

enutt enutt
Lab Rat
3 posts

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.

0 replies

 
  ‹‹ converting a SQLite julianday to a QDateTime      Help with QFormLayout ››

You must log in to post a reply. Not a member yet? Register here!