Revert "Gui: [skip ci] fix build failure if shiboken support is disabled"

This reverts commit d60a737ae8.
This commit is contained in:
Uwe
2022-11-09 13:23:37 +01:00
parent d60a737ae8
commit c8042bed16
-2
View File
@@ -299,7 +299,6 @@ private:
// mw.style()
// import gc
// gc.collect()
#if defined (HAVE_SHIBOKEN) && defined(HAVE_PYSIDE)
PyTypeObject * type = getPyTypeObjectForTypeName<QApplication>();
if (type) {
auto sbk_type = reinterpret_cast<SbkObjectType*>(type);
@@ -307,7 +306,6 @@ private:
PyObject* pyobj = Shiboken::Object::newObject(sbk_type, qApp, false, false, typeName.c_str());
addQObject(qApp, pyobj);
}
#endif
}
WrapperManager()