From 755bad25da9728554477ca3443cdde67461fc168 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Tue, 2 Jan 2024 17:35:43 +0100 Subject: [PATCH] Part: Fix build with pch Move QtAll inclusion (which includes GL itself) after manually including to correctly get ARB extensions. --- src/Mod/Part/Gui/PreCompiled.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Mod/Part/Gui/PreCompiled.h b/src/Mod/Part/Gui/PreCompiled.h index f88b6d206d..4758d16e94 100644 --- a/src/Mod/Part/Gui/PreCompiled.h +++ b/src/Mod/Part/Gui/PreCompiled.h @@ -62,13 +62,8 @@ #include #include -// Qt Toolkit -#ifndef __QtAll__ -# include -#endif - // GL -// Include glext before InventorAll +// Include glext before QtAll/InventorAll #ifdef FC_OS_WIN32 # include # include @@ -87,6 +82,11 @@ // Should come after glext.h to avoid warnings #include +// Qt Toolkit +#ifndef __QtAll__ +# include +#endif + // Inventor includes OpenGL #ifndef __InventorAll__ # include