hansewu / MovieMator

MovieMator
15 stars 10 forks source link

WINDOWS版日志提示WARING: QQuickView(0x402c0770) must be a top level window. #291

Open hansewu opened 5 years ago

hansewu commented 5 years ago

[Warning] QQuickView(0x402c0770) must be a top level window.

Dragon-S commented 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.