Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Mac QT Creator: How to add QMenuBar from Design tool?
QtWS25 Last Chance

Mac QT Creator: How to add QMenuBar from Design tool?

Scheduled Pinned Locked Moved Qt Creator and other tools
qt creatorqmenubarmactutorials
4 Posts 2 Posters 2.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.
  • D Offline
    D Offline
    DannyatKDA
    wrote on 1 Apr 2016, 19:04 last edited by DannyatKDA 4 Jan 2016, 19:06
    #1

    On March 30, I have installed eval version of QT V5.6 Enterprise on Mac OS 10.10 (Yosemite) and I am trying to follow: http://doc.qt.io/qt-5/gettingstartedqt.html
    and it mentions MenuBar which no longer seems to be available. [Actually on Windows, it shows up fine. On Mac, it doesn't get created when making a new project. When I copy Windows' version of the project to the Mac, it all works fine.]

    How does one create MenuBar and ToolBars on Mac when starting from scratch? [Do some settings need to be set for the Mac? If so, then the tutorial needs to get updated...]

    [I have ran several examples on both Mac and Windows and they all seem to run OK so I'm pretty sure my setup is correct.]

    Thanks.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 1 Apr 2016, 22:30 last edited by
      #2

      Hi and welcome to devnet,

      On OS X the MenuBar can be found at the top of the screen. Is it that one you are looking for ?

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

      D 1 Reply Last reply 1 Apr 2016, 23:29
      0
      • S SGaist
        1 Apr 2016, 22:30

        Hi and welcome to devnet,

        On OS X the MenuBar can be found at the top of the screen. Is it that one you are looking for ?

        D Offline
        D Offline
        DannyatKDA
        wrote on 1 Apr 2016, 23:29 last edited by
        #3

        @SGaist

        No, when I create a new project, I get two different results:

        Mac QT Creator Screenshot
        vs
        Windows 7 QT Creator Screenshot

        Notice that Mac version does not have MenuBar's "Type Here" text.

        If I copy the Windows project over, then I can edit and use the MenuBar....

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 2 Apr 2016, 21:27 last edited by
          #4

          Probably because on OS X the default menu bar is provided by the OS. See QMenuBar's documentation for more details.

          However I don't know if it's an OS X specific behavior of Qt Creator.

          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

          2/4

          1 Apr 2016, 22:30

          • Login

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