Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] Remove System menu bar mac os x

[Solved] Remove System menu bar mac os x

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 9.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    paganotti
    wrote on last edited by
    #1

    Good Morning, I'm creating a new desktop QT application for mac os x. I'm searched on documentation how to remove system menu bar of my application on mac os x, but I have found nothing. Can you help me, please? The System menu bar is composed by this system Actions: Services,Hide StoreBox, Hide Others,Show All,Quit StoreBox. I don't want these.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      This is not a menu bar, but the system menu, just to clear the wording.

      You cannot remove them using Qt. As far s I know, the entries are added automatically by OS X. And there is no need to remove them, as OS X users expect them to be there.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • P Offline
        P Offline
        paganotti
        wrote on last edited by
        #3

        i need remove this system menu bar becouse my application is only a desktop tray icon and I don't want that also a system menu bar appear on top. Aren't there way to remove this bar?

        1 Reply Last reply
        0
        • P Offline
          P Offline
          paganotti
          wrote on last edited by
          #4

          I resolve the problem... I modify the info.plist file in app folder adding this key:

          @
          <key>LSUIElement</key>
          <string>1</string>
          @
          So, now the main menu bar is disapeared.

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goetz
            wrote on last edited by
            #5

            Thanks for the info. I added a "wiki article":http://developer.qt.nokia.com/wiki/OS_X_application_without_menu_bar for this, you'll find some info there on how to change your .pro file to grab up your customized Info.plist automatically.

            http://www.catb.org/~esr/faqs/smart-questions.html

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved