[PyQt] QHttpMultiPart impossible to use
thedoogster at gmail.com
Wed Jun 20 02:10:31 BST 2012
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 QNetworkAccessManager.post()
method only has overloads to take either a QByteArray or a QIODevice.
Therefore, it does not appear to be possible to use a PyQt
QHttpMultiPart instance the way it was intended to be used.
Finally, the current PyQt Class Reference does not mention the
QHttpMultiPart and QHttpPart classes.
What's going on? Is this a bug in PyQt?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 377 bytes
Desc: not available
More information about the PyQt