Open hansewu opened 5 years ago
https://forum.qt.io/topic/44720/menu-in-widget-embedded-qquickview https://lists.qt-project.org/pipermail/interest/2014-November/014029.html
setTransientParent just provides a hint that one window is a dependent of another, so that e.g. a dialog is to be shown centered over the main window. For a context menu’s popup window, maybe that should not be necessary at all, actually, because it has to set its position to be right next to the cursor: we can’t depend on the window manager to position it.
[Warning] QQuickView(0x402c0770) must be a top level window.