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

QtQuick in QtCreator 5.5 on Mac OS X 10.9.5: menu bar does not render

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: Qt Creator 3.4.1, Qt Creator 3.4.2, Qt Creator 3.5.0
    • Fix Version/s: None
    • Component/s: Quick / QML Support
    • Labels:
      None
    • Environment:
      Mac OS X 10.9.5
      QtCreator 3.5.0 (opensource) (new install)
      QtQuick 2.5
      QtQuick.Controls 1.4
      Qt 5.5.0 (Clang 6.0(Apple), 64 bit)
      built on Aug 18 2015 13:13:30
      revision f1b9f56c69

      Description

      Steps to Reproduce:
      1. Open QtCreator on Mac OS X v10.9.5
      2. Select New Project
      3. Select QtQuick or QtQucik Controls Application
      4. Complete project creation.
      5. Compile and Run the newly created application for clang Mac Desktop.
      6. In the application window, notice the missing menu bar even though the code is in place within the project template.

      This appears in older QtCreator versions also and is a breakage of functionality.

      import QtQuick 2.5
      import QtQuick.Controls 1.4
      import QtQuick.Dialogs 1.2

      ApplicationWindow {
      visible: true
      width: 640
      height: 480
      title: qsTr("Hello World")

      menuBar: MenuBar {
      Menu {
      title: qsTr("File")
      MenuItem

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

      MenuItem

      { text: qsTr("Exit") onTriggered: Qt.quit(); }

      }
      }

      MainForm

      { anchors.fill: parent button1.onClicked: messageDialog.show(qsTr("Button 1 pressed")) button2.onClicked: messageDialog.show(qsTr("Button 2 pressed")) }

      MessageDialog {
      id: messageDialog
      title: qsTr("May I have your attention, please?")

      function show(caption)

      { messageDialog.text = caption; messageDialog.open(); }

      }
      }

        Attachments

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

          Activity

            People

            Assignee:
            con Eike Ziller
            Reporter:
            doozii doozii Inc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes