On Tue, 19 Jun 2012 18:10:31 -0700, Doogster
wrote:
> How does one use PyQt's QHttpMultiPart and QHttpPart classes?
>
> On both Arch Linux (PyQt 4.9) and Windows (4.8.1, I believe), the
> attached code sample segfaults the Python interpreter.
As has been pointed out you need to keep a reference
On Tue, Jun 19, 2012 at 06:10:31PM -0700, Doogster wrote:
> On both Arch Linux (PyQt 4.9) and Windows (4.8.1, I believe), the
> attached code sample segfaults the Python interpreter.
It's probably the usual garbage-collection problem: your
QHttpMultiPart is being destroyed before the network manag
How does one use PyQt's QHttpMultiPart and QHttpPart classes?
On both Arch Linux (PyQt 4.9) and Windows (4.8.1, I believe), the
attached code sample segfaults the Python interpreter.
While Qt's QNetworkAccessManager::post() method is overloaded to take
a pointer to a QHttpMultiPart, PyQt's QNetwo