← Back to team overview

dx-packages team mailing list archive

[Bug 1323853] Re: No menubar for QtQuick.Controls based applications

 

this issue persists on qt5.4 which comes along with ubuntu 15.04.

One cannot create menubars in qml ApplicationWindow using QtQuick 2.2 or
QtQuick 2.3

Is there any possible workaround?

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to appmenu-qt5 in Ubuntu.
https://bugs.launchpad.net/bugs/1323853

Title:
  No menubar for QtQuick.Controls based applications

Status in Application menu for Qt5:
  Triaged
Status in appmenu-qt5 package in Ubuntu:
  Triaged

Bug description:
  For QtQuick.Controls based applications no menubars are shown. The
  following message is printed to the console instead:

  appmenu-qt: handleReparent 128 The given QWindow has no QMenuBar
  assigned

  Apparently this is because QtQuick.Controls menus are built upon
  QQuickMenuBar and
  QGuiApplicationPrivate::platformTheme()->createPlatformMenuBar();
  instead of QMenuBar.

To manage notifications about this bug go to:
https://bugs.launchpad.net/appmenu-qt5/+bug/1323853/+subscriptions