[vlmc-devel] Fix the incompatibility between QQuickView and

Yikai Lu git at videolan.org
Mon Aug 7 19:18:25 CEST 2017


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Tue Aug  8 01:00:33 2017 +0900| [6652f061bf23e2251a7babe4942992b6f50e5dbf] | committer: Yikai Lu

Fix the incompatibility between QQuickView and
QDockWidget

> https://code.videolan.org/videolan/vlmc/commit/6652f061bf23e2251a7babe4942992b6f50e5dbf
---

 src/Main/main.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Main/main.cpp b/src/Main/main.cpp
index c4995d8d..e3c29317 100644
--- a/src/Main/main.cpp
+++ b/src/Main/main.cpp
@@ -163,6 +163,7 @@ VLMCGuimain( const QString& projectFile )
     d.exec();
 #endif
 
+    qApp->setAttribute( Qt::AA_DontCreateNativeWidgetSiblings, true );
     MainWindow w( backend );
 
     if ( FirstLaunchWizard::shouldRun() == true )



More information about the Vlmc-devel mailing list