Comment 10 for bug 1600136

Upstream fix for pure Qt apps (when not including appmenu-qt5) is proposed at https://codereview.qt-project.org/#/c/182307/.

Here's the patch for the ubuntu package too.