mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
Fix build failure against PySide >= 6.8 (#3395)
This commit is contained in:
parent
3ddb1b9a58
commit
93a06f5edd
@ -133,7 +133,9 @@ void PythonManager::shutdown()
|
|||||||
Core()->setProperty("_PySideInvalidatePtr", QVariant());
|
Core()->setProperty("_PySideInvalidatePtr", QVariant());
|
||||||
|
|
||||||
// see PySide::destroyQCoreApplication()
|
// see PySide::destroyQCoreApplication()
|
||||||
|
# if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
|
||||||
PySide::SignalManager::instance().clear();
|
PySide::SignalManager::instance().clear();
|
||||||
|
# endif
|
||||||
Shiboken::BindingManager &bm = Shiboken::BindingManager::instance();
|
Shiboken::BindingManager &bm = Shiboken::BindingManager::instance();
|
||||||
SbkObject *pyQApp = bm.retrieveWrapper(QCoreApplication::instance());
|
SbkObject *pyQApp = bm.retrieveWrapper(QCoreApplication::instance());
|
||||||
PyTypeObject *pyQObjectType = Shiboken::Conversions::getPythonTypeObject("QObject*");
|
PyTypeObject *pyQObjectType = Shiboken::Conversions::getPythonTypeObject("QObject*");
|
||||||
|
Loading…
Reference in New Issue
Block a user