Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
207 views
Welcome To Ask or Share your Answers For Others

1 Answer

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 ?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...