set Qt::AA_ShareOpenGLContexts for Qt5.9

This commit is contained in:
wmayer
2019-06-05 09:43:47 +02:00
parent 2a1dd8415d
commit 57b3ca6f77

View File

@@ -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