Compilation Error with libqcocoa.dylib on macOS
I raised this issue in hopes of connecting with macOS developers who might be interested in helping to resolve it.
I'm not very familiar with macOS or creating installers (except using FBS, the fman build system). I found a few older versions of EDFbrowser compiled for macOS, but they’re quite outdated.
I have read the instructions on the EDFbrowser webpage and tried to create a macOS installer. I’ve updated my Mac environment as follows: macOS (14.6 and 15.0.1), Xcode (versions 14, 15, and 16), and Qt5 and Qt6 (installed via Brew and Port). However, I continue to encounter the same error related to the "libqcocoa.dylib" file, which is managed by Qt and beyond my control. Some forums suggest changing OS or Qt versions to solve this issue, but despite trying various configurations, the errors persist.
Here’s my latest setup:
- EDFbrowser: 2.12
- macOS: 15.0.1
- Xcode: 16
- Qt: 5.15.15
The error:
Found invalid metadata in lib /Users/karine/Documents/gitRepos/EDFbrowser/EDFbrowser.app/Contents/PlugIns/platforms/libqcocoa.dylib: Invalid metadata version qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
Any help or guidance would be greatly appreciated!