Skip to content

Commit

Permalink
Fix build failure against PySide >= 6.8 (#3395)
Browse files Browse the repository at this point in the history
  • Loading branch information
karliss authored Nov 29, 2024
1 parent 3ddb1b9 commit 93a06f5
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 93a06f5

Please sign in to comment.