Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-11728

Add another menu action to the Qt Quick Controls application template

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 3.2.1
    • Qt Creator 3.1.0-beta
    • Quick / QML Support
    • None
    • 2693e087683cc49196d13e57ccda17e477eb5b77

    Description

      We have had a few bug reports about a missing menu bar on Mac (i.e QTBUG-37517). The real issue is that the default template only contains an "exit" action, which is automatically moved to the application menu on Mac and hence the "File" menu dissapears.

      It can easily be solved if we add a second action such as

       MenuItem {  text: qsTr("&Open") ; onTriggered: Console.log("Open action triggered") }
      

      Note while we could add a MessageBox here, it would depend on 5.3.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jkobus Jarek Kobus
            bachewii Jens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes