From 9a202e2bbc8d5e3acd3fcd1acb7b15f660c14b98 Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Tue, 12 Jan 2021 13:27:31 +0100 Subject: [PATCH] Add missing headers --- GraphicsView/include/CGAL/Qt/init_ogl_context.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/GraphicsView/include/CGAL/Qt/init_ogl_context.h b/GraphicsView/include/CGAL/Qt/init_ogl_context.h index 57198277fe6..4ec18c6659a 100644 --- a/GraphicsView/include/CGAL/Qt/init_ogl_context.h +++ b/GraphicsView/include/CGAL/Qt/init_ogl_context.h @@ -13,6 +13,11 @@ #ifndef CGAL_QT_CONTEXT_INITIALIZATION_H #define CGAL_QT_CONTEXT_INITIALIZATION_H +#include + + +#include +#include namespace CGAL { namespace Qt @@ -37,9 +42,7 @@ inline void init_ogl_context(int major, int minor) { QSurfaceFormat::setDefaultFormat(fmt); //for windows -#if (QT_VERSION >= QT_VERSION_CHECK(5, 3, 0)) QCoreApplication::setAttribute(::Qt::AA_UseDesktopOpenGL); -#endif //We set the locale to avoid any trouble with VTK setlocale(LC_ALL, "C");