Re: [PyQt] Problem with threaded ftp: Cannot queue arguments of type 'QUrlInfo'

2012-11-20 Thread Brian Knudson
On Nov 20, 2012, at 11:44 AM, Brian Knudson wrote: >> >>> Here's some example code (pardon the length). I would like to be able >> to >>> print the listed files/urls from the function "lister". Ultimately, I'd >>> like to then have that function formulate new urls & pass them back to >>> conne

Re: [PyQt] Problem with threaded ftp: Cannot queue arguments of type 'QUrlInfo'

2012-11-20 Thread Brian Knudson
On Nov 20, 2012, at 2:21 AM, Phil Thompson wrote: > On Fri, 16 Nov 2012 14:40:10 -0800, Brian Knudson > wrote: >> >> >> Any ideas how to correct this? > > It's arguably a Qt bug - it should call qRegisterMetaType() itself for any > types used in signal arguments. > >> Here's some example cod

[PyQt] Bogus setMargin generated by pyuic4

2012-11-20 Thread Saúl Ibarra Corretgé
Hi all, I ran into a problem in which pyuic4 will generate a bogus setMargin call and Google is not helping much, I hope someone can shed some light. Here is the test ui file: https://gist.github.com/4119155#file_test.ui It's a simple main window with a QHBoxLayout inside a QWidget. Margins

Re: [PyQt] QAxBase.dynamicCall overloaded with list as arguments

2012-11-20 Thread Phil Thompson
On Thu, 15 Nov 2012 21:36:46 +0100, Knacktus wrote: > Hello everyone, > > calling QAxBase.dynamicCall like this works: > > my_comp.dynamicCall("MyMethod(const QString&, int, bool)", "test", 2, > False) > > however, using the overloaded call > (http://qt-project.org/doc/qt-4.8/qaxbase.html#dyna

Re: [PyQt] Problem with threaded ftp: Cannot queue arguments of type 'QUrlInfo'

2012-11-20 Thread Phil Thompson
On Fri, 16 Nov 2012 14:40:10 -0800, Brian Knudson wrote: > Certainly, I'm doing something wrong, but I must be missing it. > > I've made a little demo script that downloads a file from ftp & updates a > progress bar while doing so. The downloading & updating the progress bar > works fine, howeve

Re: [PyQt] Strange utf-8 conversions in PyQt3

2012-11-20 Thread Phil Thompson
On Wed, 14 Nov 2012 00:39:52 +0100, Hans-Peter Jansen wrote: > Dear Phil, > > since one of the more recent versions of SIP (4.14 or 4.14.1), MySQL > database > table data shows strange characters with PyQt3. The tables hold utf-8 > data, > and all other database tools handle the utf-8 data as e

Re: [PyQt] SIP and QString

2012-11-20 Thread Luca Beltrame
In data lunedì 19 novembre 2012 18:28:15, Luca Beltrame ha scritto: > It's passing this. It was a SNAFU when I was fixing the build system. I'll > remove that, rebuild and check again. FYI, I have fixed the issue in PyKDE4: the SIP arguments for Python 3 and Python 2 got swapped, causing this iss

[PyQt] Support for Qt v5.0-beta2

2012-11-20 Thread Phil Thompson
The current PyQt and SIP snapshots implement support for Qt v5.0-beta2. As before this is (for the moment) limited to the QtCore, QtGui, QtNetwork, QtHelp, QtSvg, QtSql, QtWebKit, QtXml, QtXmlPatterns and uic modules. Phil ___ PyQt mailing listPyQt@r