Skip to content Skip to sidebar Skip to footer

Qnetworkreply Causes Segfault

I'm trying to write some kind of API client for PyQt4-based app. And, following this documentation i wrote this code: from PyQt4 import QtCore, QtNetwork class API(QtCore.QObject

Solution 1:

I'm an idiot :(

The problem was resolved by binding the manager to object variable, not the reply. The manager was garbage collected (or smth like that).

Post a Comment for "Qnetworkreply Causes Segfault"