From 33f9fae21df4c58065e764f7c5a6651c1f631c18 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sat, 27 Dec 2014 10:58:08 -0800 Subject: [PATCH] Don't use native widget siblings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit QQuickWidget can’t handle this --- src/QGCApplication.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/QGCApplication.cc b/src/QGCApplication.cc index 17e99b267..81bcdd2a6 100644 --- a/src/QGCApplication.cc +++ b/src/QGCApplication.cc @@ -97,6 +97,8 @@ QGCApplication::QGCApplication(int &argc, char* argv[], bool unitTesting) : Q_ASSERT(_app == NULL); _app = this; + // This prevents usage of QQuickWidget to fail since it doesn't support native widget siblings + setAttribute(Qt::AA_DontCreateNativeWidgetSiblings); #ifdef QT_DEBUG // First thing we want to do is set up the qtlogging.ini file. If it doesn't already exist we copy -- 2.22.0