Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Shared Libraries Fail to Load in Mac OS
enutt last edited by
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.