qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

这是由于 MacPorts 的 qt5 不适用普通 macdeployqt 命令,打包时去掉这个命令就能正常启动了。

标签: MacPorts

添加新评论