Skip to content

Commit

Permalink
Fix build failure against PySide >= 6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
karliss committed Nov 29, 2024
1 parent 3ddb1b9 commit 198541c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/PythonManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ void PythonManager::shutdown()
Core()->setProperty("_PySideInvalidatePtr", QVariant());

// see PySide::destroyQCoreApplication()
# if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
PySide::SignalManager::instance().clear();
# endif
Shiboken::BindingManager &bm = Shiboken::BindingManager::instance();
SbkObject *pyQApp = bm.retrieveWrapper(QCoreApplication::instance());
PyTypeObject *pyQObjectType = Shiboken::Conversions::getPythonTypeObject("QObject*");
Expand Down

0 comments on commit 198541c

Please sign in to comment.