https://github.com/FreeCAD/FreeCAD/pull/33408
https://github.com/FreeCAD/FreeCAD/commit/636365fd4a30e017c76ef6a44cf045e77ec5e632

From 636365fd4a30e017c76ef6a44cf045e77ec5e632 Mon Sep 17 00:00:00 2001
From: Louis Gombert <louisgombert@gmail.com>
Date: Sat, 10 Oct 2026 13:29:23 +0200
Subject: [PATCH] PythonWrapper.cpp: add missing include for PySide 6.12

--- a/src/Gui/PythonWrapper.cpp
+++ b/src/Gui/PythonWrapper.cpp
@@ -95,6 +95,9 @@
 
 #ifdef HAVE_PYSIDE
 # include <signalmanager.h>
+# if __has_include(<pyobjectwrapper.h>)
+#  include <pyobjectwrapper.h>
+# endif
 #endif  // HAVE_PYSIDE
 
 //-----------------------------------------------------------------------------
