From 57b3ca6f77c3bc3a7fdb802f2e8a9fcf466f5e3a Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 5 Jun 2019 09:43:47 +0200 Subject: [PATCH] set Qt::AA_ShareOpenGLContexts for Qt5.9 --- src/Gui/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/Application.cpp b/src/Gui/Application.cpp index eb947fb65b..e0f29c99fd 100644 --- a/src/Gui/Application.cpp +++ b/src/Gui/Application.cpp @@ -1653,7 +1653,7 @@ void Application::runApplication(void) const std::map& cfg = App::Application::Config(); std::map::const_iterator it; -#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)) +#if (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)) QApplication::setAttribute(Qt::AA_ShareOpenGLContexts); #endif