Qt Deployment for Mac, configuring executable inside bundle

女生的网名这么多〃 提交于 2019-12-13 08:07:27

问题


I was previously stuck on trying to build a Qt project that held the Qt libraries in the app bundle. I noticed the problem was that the executable inside the MacOS directory did not have execute permissions. Is there any way configure the build where the executable in the MacOS folder contains execute permissions by default?


回答1:


You generally never care about exe permission when you build your exec from QtCreator. The main problem is attach all Qt frameworks for mac in your app bundle(solve by macdeployqt)

If you try to recompile from scratch you app, do you have always the same permission problem ?



来源:https://stackoverflow.com/questions/4433933/qt-deployment-for-mac-configuring-executable-inside-bundle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!