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. Double Help menu on Mac

Double Help menu on Mac

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 748 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.
  • K Offline
    K Offline
    kegon
    wrote on last edited by
    #1

    I just installed Qt 5.7.1 on OSX El Capitan 10.11.6, XCode 8.2.1.

    Problem: my app now has a menu bar of "File Edit Tools Help Help"

    In my ui file I specify a Help menu; previously Qt joined my help menu items into the system help menu; but now there appear to be 2 help menus. The first one has my Qt made functions and an automatically added Search box. There is also a second Help menu with one item, "(MyAppName) help", selecting this opens my help pages (standard Mac help pages inside the app bundle).

    Bug or new method of handling help pages ?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you provide a minimal compilable example that shows that behaviour ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kegon
        wrote on last edited by
        #3

        After investigation, it seems that if you have set the CFBundleHelpBookFolder and CFBundleHelpBookName keys in the main bundle property list file then OSX adds its own Help menu.

        Note: this is the way Apple do it, see for example /Applications/Mail.app/Contents/Info.plist

        For some reason, when using Qt 5.5 this did not occur but does now I'm using Qt 5.7.1 (actually I updated XCode 8.2 -> 8.2.1 at the same time as Qt 5.5 -> 5.7.1 so that is another possibility).

        I just noticed my function to open help pages is still using Carbon so now I have to implement a Cocoa version or maybe just not use standard Apple help pages.

        I will put together a minimal example and submit to JIRA for evaluation.

        1 Reply Last reply
        1
        • K Offline
          K Offline
          kegon
          wrote on last edited by
          #4

          See https://bugreports.qt.io/browse/QTBUG-57788

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Thanks for the link !

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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