ciao!
stavo giocherellando con QML e volevo aggiungere una semplice MenuBar.
codice:
import QtQuick 2.2
import QtQuick.Controls 1.0

Rectangle {
    width: 600
    height: 600

    MenuBar {
        id: menuBar
        Menu {
            title: "File"
            MenuItem { text: "Open..." }
            MenuItem { text: "Close" }
        }

        Menu {
            title: "Edit"
            MenuItem { text: "Cut" }
            MenuItem { text: "Copy" }
            MenuItem { text: "Paste" }
        }
    }

}
solo che nella finestra non viene visualizzata.
avete qualche idea??