Skip to content

Commit

Permalink
set Qt::AA_ShareOpenGLContexts for Qt5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jun 5, 2019
1 parent 2a1dd84 commit 57b3ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gui/Application.cpp
Expand Up @@ -1653,7 +1653,7 @@ void Application::runApplication(void)
const std::map<std::string,std::string>& cfg = App::Application::Config();
std::map<std::string,std::string>::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

Expand Down

0 comments on commit 57b3ca6

Please sign in to comment.