I am building a Qt application on Mac OS X using Qt-4.7. In my application there is a Dock Menu, I want to remove the “Quit” option from it. How can I achieve this? Please help. Thanks in advance.
Asked
Active
Viewed 705 times
2 Answers
2
Unfortunately, as with the items "Show all windows" and "Hide", there is no way to remove these.
Similar to Cocoa : Hide items in dock menu

Community
- 1
- 1

mcallister
- 165
- 10
0
This is a very difficult operation, this is beyond my knowledge but i believe this is possible. I do know an alternitive solution you can use: Make the app invisible which does not show in dock or in the apple menu: Add This to your apps Info.plist File:
<key>LSUIElement</key>
<true/>

YeaTheMans
- 1,005
- 8
- 19