From ec113193ef3c8edf6b366ff96ab746ff3ccf0f13 Mon Sep 17 00:00:00 2001 From: Uwe Date: Wed, 23 Mar 2022 16:22:57 +0100 Subject: [PATCH] [FEM] revert incorrect header removal - also add comment to prevent this in future --- src/Mod/Fem/FemGlobal.h | 5 +++++ src/Mod/Fem/Gui/ViewProviderFemMesh.h | 1 + src/Mod/Fem/Gui/ViewProviderFemPostObject.h | 1 + 3 files changed, 7 insertions(+) diff --git a/src/Mod/Fem/FemGlobal.h b/src/Mod/Fem/FemGlobal.h index b2703d8c38..749e30e62d 100644 --- a/src/Mod/Fem/FemGlobal.h +++ b/src/Mod/Fem/FemGlobal.h @@ -20,6 +20,11 @@ * * ***************************************************************************/ + // this file contains the export macros for the App and Gui module + // for Qt Designer, see e.g. + // https://forum.freecadweb.org/viewtopic.php?p=558050#p558050 + // why this is necessary + #include #ifndef FEM_GLOBAL_H diff --git a/src/Mod/Fem/Gui/ViewProviderFemMesh.h b/src/Mod/Fem/Gui/ViewProviderFemMesh.h index 5652726de4..e9375b8dda 100644 --- a/src/Mod/Fem/Gui/ViewProviderFemMesh.h +++ b/src/Mod/Fem/Gui/ViewProviderFemMesh.h @@ -26,6 +26,7 @@ #include #include #include +#include class SoCoordinate3; class SoDrawStyle; diff --git a/src/Mod/Fem/Gui/ViewProviderFemPostObject.h b/src/Mod/Fem/Gui/ViewProviderFemPostObject.h index 85f73247a3..8e6e890212 100644 --- a/src/Mod/Fem/Gui/ViewProviderFemPostObject.h +++ b/src/Mod/Fem/Gui/ViewProviderFemPostObject.h @@ -25,6 +25,7 @@ #include #include +#include #include #include