From c8042bed16948d6fac811c38e82f3f0f4e107763 Mon Sep 17 00:00:00 2001 From: Uwe Date: Wed, 9 Nov 2022 13:23:37 +0100 Subject: [PATCH] Revert "Gui: [skip ci] fix build failure if shiboken support is disabled" This reverts commit d60a737ae899884603e1638d81f83600f2d1e8c9. --- src/Gui/PythonWrapper.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Gui/PythonWrapper.cpp b/src/Gui/PythonWrapper.cpp index 207c5b46b9..0e94a76b6a 100644 --- a/src/Gui/PythonWrapper.cpp +++ b/src/Gui/PythonWrapper.cpp @@ -299,7 +299,6 @@ private: // mw.style() // import gc // gc.collect() -#if defined (HAVE_SHIBOKEN) && defined(HAVE_PYSIDE) PyTypeObject * type = getPyTypeObjectForTypeName(); if (type) { auto sbk_type = reinterpret_cast(type); @@ -307,7 +306,6 @@ private: PyObject* pyobj = Shiboken::Object::newObject(sbk_type, qApp, false, false, typeName.c_str()); addQObject(qApp, pyobj); } -#endif } WrapperManager()