diff --git a/GUI/Model/Project/ProjectDocument.h b/GUI/Model/Project/ProjectDocument.h
index f4f0eccc8109eaa6b981f822fa4ec93bdeb4f53d..a1bf7d27162b78cfddf6aa72e5dddcddddb0a0a0 100644
--- a/GUI/Model/Project/ProjectDocument.h
+++ b/GUI/Model/Project/ProjectDocument.h
@@ -23,8 +23,8 @@
 #include "GUI/Support/Data/SimulationOptionsItem.h"
 
 class MessageService;
-class QIODevice;
 class ProjectDocument;
+class QIODevice;
 
 extern std::optional<ProjectDocument*> gProjectDocument;
 
diff --git a/GUI/View/Fit/JobMessagePanel.h b/GUI/View/Fit/JobMessagePanel.h
index 4012db01ddb8ee6278952928ba8b1c894cdd1996..a338d2b4651a733c9fabffb9729c35f5a1719b05 100644
--- a/GUI/View/Fit/JobMessagePanel.h
+++ b/GUI/View/Fit/JobMessagePanel.h
@@ -16,7 +16,6 @@
 #define BORNAGAIN_GUI_VIEW_FIT_JOBMESSAGEPANEL_H
 
 #include "GUI/View/Fit/FitLog.h"
-#include <QColor>
 #include <QTextEdit>
 
 //! The JobMessagePanel class shows log messages from FitActivityPanel at the
diff --git a/GUI/View/Instrument/InstrumentView.h b/GUI/View/Instrument/InstrumentView.h
index c381862072f0eddf34aa53c19ed638447421a009..1283f3bd493b818ef29118c500bd311cca15138f 100644
--- a/GUI/View/Instrument/InstrumentView.h
+++ b/GUI/View/Instrument/InstrumentView.h
@@ -15,9 +15,7 @@
 #ifndef BORNAGAIN_GUI_VIEW_INSTRUMENT_INSTRUMENTVIEW_H
 #define BORNAGAIN_GUI_VIEW_INSTRUMENT_INSTRUMENTVIEW_H
 
-#include "GUI/Model/Project/ProjectDocument.h"
-#include <QLineEdit>
-#include <QScrollArea>
+#include "GUI/Model/Project/ProjectDocument.h" // ProjectDocument::Functionalities
 #include <QWidget>
 
 class InstrumentItem;
@@ -25,7 +23,6 @@ class InstrumentListView;
 class ProjectDocument;
 class QScrollArea;
 class QLabel;
-class QLineEdit;
 class QMenu;
 class QCheckBox;
 class QWidgetAction;
diff --git a/GUI/View/Projection/ProjectionsPlot.h b/GUI/View/Projection/ProjectionsPlot.h
index 064b268926681494657180dea10ca2e805310e49..e6e97f4ac1f7ffd7a994ecdc4b147e308c7497e5 100644
--- a/GUI/View/Projection/ProjectionsPlot.h
+++ b/GUI/View/Projection/ProjectionsPlot.h
@@ -18,7 +18,6 @@
 #include "GUI/Support/Data/ID.h"
 #include "GUI/View/Item/DataItemBundleWidget.h"
 #include <QMap>
-#include <memory>
 
 class Datafield;
 class IntensityDataItem;